11. XML Nesting

XML elements are required to be properly nested. Incorrect nesting of elements does not make sense to XML.

Example 11.1 Incorrect Nesting
<rootelement>
	<childelement1>An element value.</childelement1>
	<childelement2>An element value.
</rootelement>
</childelement2>
	
Example 11.2 Correct Nesting
<rootelement>
	<childelement1>An element value.</childelement1>
	<childelement2>An element value.</childelement2>
</rootelement>