9. XML Closing Tag

An XML element is required to have a closing tag. With XML it is illegal to omit the closing tag. An XML element can be closed in two possible ways; non-empty closed element and empty closed element.

Example 9.1 Non-Empty Closed Element
<anonemptyelement>
	An element value.
</anonemptyelement>
	
Example 9.2 Empty Closed Element
<anemptyelement />