MarkLogic 10 Product Documentation
xdmp:atomizable

xdmp:atomizable(
   [$item as item()]
) as xs:boolean

Summary

Returns true if a value could be atomized without error. If no argument is supplied, this function checks whether the context item can be atomized without error.

Parameters
item The item to be tested for atomizability.

Example

xdmp:atomizable(<x xsi:type="xs:integer">a</x>)

=> false()
Powered by MarkLogic Server | Terms of Use | Privacy Policy