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()
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.