cpf:document-set-last-updated( $doc as xs:string, $last-updated as xs:dateTime ) as empty-sequence()
Set the date and time of the document's last update.
Parameters | |
---|---|
doc | The URI of the document. |
last-updated | The date and time at which the document was last updated, typically fn:current-dateTime(). |
xquery version "1.0-ml"; import module namespace cpf = "http://marklogic.com/cpf" at "/MarkLogic/cpf/cpf.xqy"; cpf:document-set-last-updated( "/myDocs/example.xml", fn:current-dateTime() )