XPath 2.0 is All About Sequences
A sequence is an ordered collection of zero or more items
- Generalizes and extends the notion of node-sets
- All expressions return sequences
- All values are in sequences
- All sequences are ordered
- A singleton is a one-item sequence
- The empty sequence is a valid sequence