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