Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:document-add-properties

xdmp:document-add-properties(
   $uri as xs:string,
   $props as element()*
) as empty-sequence()

Summary

Adds a sequence of properties to the properties of a document.

Parameters
uri The URI of the document.
props The properties to add.

Example

xdmp:document-add-properties(
       "example.xml",
       (<priority>1</priority>,
        <status>unedited</status>))
=> ()

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