Si vous voulez vous amuser avec des équivalents légers du XML, c'est à dire d'autres formats pour représenter un DOM, il y a les formats PYX et xml2. Bon, c'est moins marrant pour ça :
<chapterxmlns="http://docbook.org/ns/docbook"version="5.0"><title>The Debian distribution</title><para>Debian is a free operating system, describing itself as "the
universal operating system". It is mostly known as a GNU/Linux
distribution, but it also exist in other variants such as GNU/Hurd
and GNU/kFreeBSD...</para></chapter>
ça donne des truc comme ça :
(chapter
Aversion 5.0
-\n
(title
-The Debian distribution
)title
-\n\n
(para
-Debian is a free operating system, describing itself as
-"the\n universal operating system". It is mostly known as a GNU/Linux\n distribution, but it also exist in other variants such as GNU/Hurd\n and GNU/kFreeBSD...
)para
-\n
)chapter
et
/chapter/@xmlns=http://docbook.org/ns/docbook
/chapter/@version=5.0
/chapter/title=The Debian distribution
/chapter/para=Debian is a free operating system, describing itself as "the
/chapter/para= universal operating system". It is mostly known as a GNU/Linux
/chapter/para= distribution, but it also exist in other variants such as GNU/Hurd
/chapter/para= and GNU/kFreeBSD...
[^] # Re: XML
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal XML c'est de la daube!!!. Évalué à 3.
Si vous voulez vous amuser avec des équivalents légers du XML, c'est à dire d'autres formats pour représenter un DOM, il y a les formats PYX et xml2. Bon, c'est moins marrant pour ça :
ça donne des truc comme ça :
et
http://tanguy.ortolo.eu/blog/article110/xml2-pyx