MarkLogic Server 11.0 Product Documentation
XMLNode.hasChildNodesXMLNode.hasChildNodes() as Boolean
Summary
Whether this node has any children.
Usage Notes
This method is defined for element and document nodes.
Example
cts.doc("example.xml").hasChildNodes()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.