Loading TOC...

MarkLogic 9 Product Documentation
XMLNode.childNodes

XMLNode.childNodes as NodeList

Summary

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.