XPath
Addressing nodes inside an XML document.
💡
This course has 3 lessons. Start with the first one and use the next / previous links at the bottom of each lesson — the sidebar keeps the whole course in order.
Lessons
- Location paths and axesThe XPath data model, absolute and relative paths, the axes you will actually use, and node tests that select the right node type.
- Predicates and functionsFiltering node-sets with predicates, positional versus value tests, and the string, number and boolean functions you will use most.
- XPath in XSLT and in codeHow XPath drives XSLT select and match attributes, and the same expressions in Python, Java, JavaScript and the shell.
More in XML & Web Services
XML XSLT SOAP RESTful APIs RSS & Atom
Last refreshed 2026-09-17.