XML Documents Must Have a Root Element

Every XML document you write must contain a pair of tags that define a root element. In the previous example, the tags <test> </test> define the document's root element (I use the words tag and element interchangeably). All other tags must be nested within this element. Nested elements are referred to as child elements. There are also sub-child elements and parent elements, but this is just jargonfD describing a document's hierarchy. For example, the root element <test> is a parent to the child element <problem>. Furthermore, <problem> is a parent element to the child elements <number>, <left_operand>, <operator>, <right_operand>, and <answer> which are also sub-child elements to <test>.

Biorhythm Awareness

Biorhythm Awareness

Who else wants to take advantage of biorhythm awareness to avoid premature death, escape life threatening diseases, eliminate most of your life altering mistakes and banish catastrophic events from your life.

Get My Free Ebook

Post a comment