Loading TOC...

MarkLogic Server 11.0 Product Documentation
XMLDocument.childNodes

XMLDocument.childNodes as NodeList

Summary

This is inherited from the XMLNode object.

The children of this node.

Usage Notes

The result is null except for document and element nodes.

See also the Node.xpath method.

Example

cts.doc("example.xml").root.childNodes.length

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