MarkLogic 10 Product Documentation
xdmp:node-urixdmp: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"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.