SAXONICA |
fn:exactly-one($srcval as item*) as item?
Function signature
$srcval |
item() * |
Result |
item() ? |
Checks whether $srcval contains exactly one item; fails if it is empty or contains multiple items.