Construct Complex XPath Searches
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:
- Constructing an XPath with Axis, Node Test, and Predicate
- Constructing a Multi-step XPath Expression
- Constructing a Compound Location Path Using Union
See Also
Introduction to XPath Syntax | Context and Navigation in XPath | Use XPath Axes to Navigate through XML Data | Filtering XML Data Using XPath Predicates