Loading TOC...

MarkLogic 12 EA 1 Product Documentation
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"))

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