xdmp:is-whitespace-node

xdmp:is-whitespace-node(
   [$text as node()]
) as xs:boolean

Summary

Returns true if the node is a text node containing only whitespace.

Parameters
text The node to be tested.

Example

xdmp:is-whitespace-node(<x>a</x>)

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