XPath 2.0 Expression Typing
major difference between XPath 1.0 and XPath 2.0
- XPath 1.0 had few types of expressions
- string
- boolean
- number
-
nodeset
- XPath 2.0 may have
- all the W3C XML Schema simple and complex types
- types derived from the schema types
- atomic values