MarkLogic 10 Product Documentation
Attr.hasChildNodesAttr.hasChildNodes() as Boolean
Summary
This is inherited from the XMLNode object.
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.