Loading TOC...

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.