XML information pipe

Ihre Spezialisten für XML

Banner Werbung

Root element

Description:
There is exactly one element, called the root, or document element, no part of which appears in the content of any other element.

Examples:


Well-formed documents

<book> is root element:

<book>This is a book</book>


<list> is root element:

<list>
   <item>Item 1</item>
   <item>Item 2</item>
   <item>Item 3</item>
</list>



Documents with errors

Only one root element is permitted:

???
   <item>Item 1</item>
   <item>Item 2</item>
   <item>Item 3</item>
???