
xdmp:node-metadata( $node as node() ) as map:map?
Returns the metadata value of a given node.
| Parameters | |
|---|---|
| node | The node whose metadata are to be returned. |
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.