Loading TOC...

Document.root

Document.root as String

Summary

The root node of the document.

Example

// Assume the document 'example.xml' has the following contents:
//   <example><title>Example document</title></example>
//
cts.doc("example.xml").root;

// Returns: <example><title>Example document</title></example>

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy