Once you have learned the rudiments of XPath syntax, creating a complex search of an XML document's contents is effectively a matter of combining various location steps into a complex location path or combining multiple location paths to form a compound location path.
This section covers the following:
Introduction to XPath Syntax | Context and Navigation in XPath | Use XPath Axes to Navigate through XML Data | Filtering XML Data Using XPath Predicates