cpf:document-get-last-updated( $doc as xs:string ) as xs:dateTime?
Determine the date and time of the last update to the document's content, if any.
Parameters | |
---|---|
doc | The URI of the document. |
xquery version "1.0-ml"; import module namespace cpf = "http://marklogic.com/cpf" at "/MarkLogic/cpf/cpf.xqy"; cpf:document-get-last-updated( "/myDocs/example.xml" )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.