xdmp:document-remove-metadata

xdmp:document-remove-metadata(
   $uri as xs:string,
   $metadata as xs:string*
) as empty-sequence()

Summary

Removes metadata with certain keys from a document.

Parameters
uri The document URI.
metadata Name of the metadata to be removed.

Example

xdmp:document-remove-metadata("foo.xml", ("a","b"))
Powered by MarkLogic Server | Terms of Use | Privacy Policy