MarkLogic 10 Product Documentation
XMLNode.hasChildNodes

XMLNode.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()
Powered by MarkLogic Server | Terms of Use | Privacy Policy