- XPath: language for addressing
parts of an XML document
- expression languages
- handles strings, numbers, booleans, and set of nodes
- Reused by XSLT, XPointer, XInclude, Schemas ...
- Provides a basic function library
Examples:
/p/a
//a
//a[@href = "index.html"]
Try "xmllint --shell" to test XPath expressions