MarkLogic 9 Product Documentation
xdmp:node-metadataxdmp:node-metadata(
$node as node()
) as map:map?
Summary
Returns the metadata value of a given node.
Parameters |
node |
The node whose metadata are to be returned.
|
Example
xdmp:node-metadata(fn:doc("/foo.xml"))
=> Metadata of document node of /foo.xml
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.