MarkLogic 12 EA 1 Product Documentation
xdmp:node-uri

xdmp:node-uri(
   $node as node()
) as xs:string?

Summary

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

Parameters
node The node whose URI is returned.

Example

xdmp:node-uri(doc("/some/document.xml"))
=> "/some/document.xml"
Powered by MarkLogic Server | Terms of Use | Privacy Policy