fn:zero-or-one($srcval as item*) as item?
Function signature
$srcval |
item() * |
Result |
item() ? |
Tests whether $srcval contains zero or one items; fails if it contains multiple items.