cpf:document-set-processing-status( $doc as xs:string, $processing-status as xs:string ) as empty-sequence()
Set the document's processing status to the given value.
Parameters | |
---|---|
doc | The URI of the document. |
processing-status | The new processing status, one of "created", "updated", "deleted", "active", or "done". |
xquery version "1.0-ml"; import module namespace cpf = "http://marklogic.com/cpf" at "/MarkLogic/cpf/cpf.xqy"; cpf:document-set-processing-status( "/myDocs/example.xml", "deleted" )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.