Hello
How can I Test the Cardinality of Sequences with Tamino’s XQuery ??
like this 3 functions supported by XPath 2.0 and XQuery 1.0
→
fn:zero-or-one(item,item,…) Returns the argument if it contains zero or one items, otherwise it raises an error
fn:one-or-more(item,item,…) Returns the argument if it contains one or more items, otherwise it raises an error
fn:exactly-one(item,item,…) Returns the argument if it contains exactly one item, otherwise it raises an error.