Result 5 elements.
1 ELEMENT_NODE
<xml_root> <xml_parent name="John Doe"> <xml_child name="Billy Doe" sex="male">Slugs and Snails</xml_child> <xml_child name="Dosey Doe" sex="female">Sugar and Spice</xml_child> <xml_child name="John Doe Jr." sex="male">Puppy Dog Tails</xml_child> </xml_parent> </xml_root>
2 ELEMENT_NODE
<xml_parent name="John Doe"> <xml_child name="Billy Doe" sex="male">Slugs and Snails</xml_child> <xml_child name="Dosey Doe" sex="female">Sugar and Spice</xml_child> <xml_child name="John Doe Jr." sex="male">Puppy Dog Tails</xml_child> </xml_parent>
3 ELEMENT_NODE
<xml_child name="Billy Doe" sex="male">Slugs and Snails</xml_child>
4 ELEMENT_NODE
<xml_child name="Dosey Doe" sex="female">Sugar and Spice</xml_child>
5 ELEMENT_NODE
<xml_child name="John Doe Jr." sex="male">Puppy Dog Tails</xml_child>
Quick Reference
/ - XML RootWeb Reference
XML Path Language (XPath) at World Wide Web Consortium (W3C)