Loading TOC...

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()

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.