Loading TOC...

MarkLogic 12 EA 1 Product Documentation
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()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.