- XPath is an XML expression
language
- Allows to lookup set of nodes in a document
- simple language
- standard types: string boolean numbers functions and variables
- defines a standard library
- uses axis based searches
- XPointer and
XSLT reuses XPath
Examples
- /chapter[@type="warning"]
- //p[position()=5]