xdmp:document-remove-metadata( $uri as xs:string, $metadata as xs:string* ) as empty-sequence()
Removes metadata with certain keys from a document.
Parameters | |
---|---|
uri | The document URI. |
metadata | Name of the metadata to be removed. |
xdmp:document-remove-metadata("foo.xml", ("a","b"))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.