Bunches of Functions for Sequences
- Basic list manipulation
- insert-before() and remove()
-
reverse()
-
index-of()
-
distinct-values()
-
subsequence() — like substring() for sequences
- Test cardinality in sequences
- deep-equal() (are these sequences pair-wise
really, really equal)
- Perform math on items in a sequence
-
count()
- average()
- max()
- min()
-
sum()
As well as sequence generation functions dealing with IDs and
IDREFs, document availability testing, and document
collections