14. XML Element Content

An XML element content is everything within and including the starting element to the closing element. The content within an element can be of various types.

Element Content Types

Example 14.1 Multi Element Content XML Document
<rootelement>
	<childelement1 attribute1=?An attribute value.?>An element value.</childelement1>
	<childelement2>An element value.</childelement2>
	<childelement3/>
	<childelement4>
		An element value.
		<childelement4childchildelement1>
			An element value.
		</childelement4childchildelement1>
		<childelement4childchildelement2>
			An element value.
		</childelement4childchildelement2>
	</childelement4>
</rootelement>	
	

Example 14.1 Summary