Loading TOC...

cpf:document-get-last-updated

cpf:document-get-last-updated(
   $doc as xs:string
) as xs:dateTime?

Summary

Determine the date and time of the last update to the document's content, if any.

Parameters
$doc The URI of the document.

Example

  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 iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.