MarkLogic Server 11.0 Product Documentation
xdmp.nodeUri

xdmp.nodeUri(
   node as Node
) as String?

Summary

Returns the document-uri property of the parameter or its ancestor.

Parameters
node The node whose URI is returned.

Example

xdmp.nodeUri(cts.doc('/some/document.json'));
=> '/some/document.json'
Powered by MarkLogic Server | Terms of Use | Privacy Policy