What does XML look like?
XML looks like HTML but is NOT HTML.
<page id="acronym">
<title>
What does <acronym>XML</acronym> stands for?
</title>
<para>eXtensible Mark-up Language.
These are some more precision, in reverse order:</para>
<para>This is another piece of text
for the needs of that presentation.</para>
</page>
|
| |
What we generally see of XML is its flat version. Indeed XML data is
structured like a tree. The root element being here
<page>...</page>. One must always keep in mind the tree
structure of an XML document. It is another key of XML data. Here,
the element <title>...</title> is not simply a <title>, but
a children of <page> and the first preceding sibling of
<para>...
|