Loading TOC...
Matches for cat:function/javascript (cat:function/javascript (cat:function (cat:function))) have been highlighted. remove

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'

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