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