MarkLogic 10 Product Documentation
XMLDocument.hasChildNodes

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