Loading TOC...

xdmp:document-remove-properties

xdmp:document-remove-properties(
   $uri as xs:string,
   $property-names as xs:QName*
) as empty-sequence()

Summary

Removes a sequence of properties from the properties of a document. If properties with the QNames given do not exist, nothing is done.

Parameters
$uri The URI of the document whose properties are being updated.
$property-names The properties to remove.

Example

xdmp:document-remove-properties(
       "/example.xml",
       (fn:QName("", "priority"),
        fn:QName("", "status")))
=> ()

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.