Loading TOC...

MarkLogic 10 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'

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.