Anatomy of a Location Step
Each location step has at least two parts (may have three)
- An axis (
- Where are you going (in relation to the evaluation context)?
- A node test
(the name of an element “
- What kind of node do you want?
- Zero or more predicates
[count(descendent::item) > 8]
- What other conditions must be true of these nodes?
Location Step = axis:: + nodetest +