
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"))