Loading TOC...

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" )
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.