Loading TOC...

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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.