Data Model

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

  • XPath 1.0 has node sets, XPath 2.0 has sequences.

    • Sequences can be in arbitrary order

    • Sequences can contain duplicates

    • Sequences can be heterogenous