MarkLogic 12 EA 1 Product Documentation
xdmp:node-metadata

xdmp: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
Powered by MarkLogic Server | Terms of Use | Privacy Policy