Data Model

  • XPath 2.0 has nodes and typed values. Colloquially, there are three kinds of things: nodes, simple or atomic values, and items. An item is either a node or an atomic value.

  • XPath 2.0 has sequences where XPath 1.0 had node sets:

    • Sequences can be in arbitrary order

    • Sequences can contain duplicates

    • Sequences can be heterogenous