Examples of Sequences
(let’s be really clear here)
- A document root (and therefore a document)
- One node (and therefore a subtree)
- A series of nodes and/or document roots
- A string value (like “42”)
- An integer value (like 42)
- A series of strings and integers
- A set of nodes described by an XPath expression
- The results of evaluating an XPath expression (say, a series of strings or dateTime values)
(All the world’s a sequence!)