- an XPath expression is either
- an absolute expression or
- a relative expression
- an absolute expression
- starts with '
/
'
- is followed by a relative expression
- and is evaluated starting at the root node
- a relative expression is
- a sequence of location steps
- each separated by '
/
'
- example (absolute expression comprising 2 steps):
/item/title