XPath - XML | MDN
Guides
The XPath guides cover practical snippets and describe how to use XPath in JavaScript.
- Introduction to using XPath in JavaScript
-
Describes a non-XSLT use of XPath.
- XPath snippets
-
These are JavaScript utility functions, that can be used in your own code, based on XPath APIs.
Reference
The XPath reference covers all XPath axes and functions documented on MDN.
- XPath:Axes
-
List and definition of the axes defined in the XPath specification. Axes are used to describe the relationships between nodes.
- XPath:Functions
-
List and description of the core XPath functions and XSLT-specific additions to XPath.
See also
- XSLT, XML, DOM
- Transforming XML with XSLT
- Comparison of CSS Selectors and XPath
- What is XSLT? introduces XSLT and XPath, including background, context, structure, concepts, and terminology - xml.com (2000)
- XPath tester online XPath Builder/Debugger