Loading TOC...

xdmp.nodeMetadata

xdmp.nodeMetadata(
   $node as Node
) as Object?

Summary

Returns the metadata value of a given node.

Parameters
$node The node whose metadata are to be returned.

Example

xdmp.nodeMetadata(cts.doc("/foo.json"))
=> Metadata of document node of /foo.json

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