cpf:document-get-state( $doc as xs:string ) as xs:anyURI?
Determine the document's current state, 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-state( "/myDocs/example.xml" )