MarkLogic 9 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy