Your American History Reference Guide!
- Root element

HistoryMania Information Site on Root element American History American History Search        American History Browse welcome to our free resource site for all enthusiasts!

Root element

Each XML document has one, and exactly one single root element. This element encloses all following elements and is therefore the parent element to all the other elements. The end-tag of the child element is always before the end-tag of the parent element - this is called nested elements.

<parent>
 <child>
 </child>
</parent>

If the end-tag of a parent element occurs before the end-tag of the child element this is improperly nested and illegal in XML.

The contents of this article are licensed from Wikipedia.org under the
GNU Free Documentation License. How to see transparent copy
Search | Browse | Contact | Legal info