MarkLogic 9 Product Documentation
cpf:document-get-state

cpf:document-get-state(
   $doc as xs:string
) as xs:anyURI?

Summary

Determine the document's current state, 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-state( "/myDocs/example.xml" )
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy