Simple XML document and its possible XML targets


<?xml version="1.0" encoding="UTF-8"?>
<Envelope>
	<Address>
		<To>ToAddress</To>
		<From>FromAddress</From>
	</Address>
	<Element Attribute="AttributeData">ElementData</Element>
	<Body/>
</Envelope>

The XPath "/Envelope/Address/To" gives the element data "ToAddress".
The XPath "/Envelope/Address/From" gives the element data "FromAddress".
The XPath "/Envelope/Element" gives the element data "ElementData".
The XPath "/Envelope/Element[@Attribute]" gives the attribute data "AttributeData".