MarkLogic 10 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
Powered by MarkLogic Server | Terms of Use | Privacy Policy