Loading TOC...

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.