# fn:exactly-one - XPath XQuery Reference

Returns $arg if it contains exactly one item. Otherwise, raises an error.
         deterministiccontext-independentfocus-independentExcept 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.