Loading TOC...

MarkLogic 10 Product Documentation
Attr.hasChildNodes

Attr.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 iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.