In XPath 1.0 We Had
Sets of Nodes
- XPath 1.0 centered its view on an XML document as a tree of nodes
- Nodes have identity
- Node sets are unordered collections of
nodes
(usually processed in document order)
- Nodes (and their subtrees) can be copied, but references to
them cannot be multiples:
count($node-set) =
count($node-set | $node-set)