Returns $arg if it contains exactly one item. Otherwise, raises an error.
fn:exactly-one( $arg as item()*item()Except in error cases, the function returns $arg unchanged.
A dynamic error is raised if $arg is an
empty sequence or a sequence containing more than one item.