xdmp.nodeUri( node as Node ) as String?
Returns the document-uri property of the parameter or its ancestor.
Parameters | |
---|---|
node | The node whose URI is returned. |
xdmp.nodeUri(cts.doc('/some/document.json')); => '/some/document.json'
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.