The one-or-more() function returns its argument unchanged, provided that it is a sequence containing one or more items. If the input is an empty sequence, it reports an error.
Argument | Data Type | Meaning |
---|---|---|
value | item()* | The input value. Although the function signature says that any sequence of items is allowed, a runtime error will occur if the number of items is zero |
Result | item() | The same as the supplied value, after checking to ensure that it is not an empty sequence |