XPath 2.0
- Common language for
- Navigation and filtering
- Arithmetic, logical, comparison expressions
- New features
- Ordered sequences of nodes & atomic values
- Expressions over sequences
- Guiding design principles
- Uniform semantics & syntax in XSLT & XQuery
- Given same environment, expression has consistent semantics
- Expression raises error or evaluates to unique value
- XPath 1.0 Backwards compatability feature
- Make explicit what was implicit
- Preserve convenience of XPath 1.0's implicit semantics
- Provide generality of more expressive constructs