MarkLogic 9 Product Documentation
cpf:document-get-error

cpf:document-get-error(
   $doc as xs:string
) as node()?

Summary

Fetch a trace of the error that caused the document's processing to fail, 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-error( "/myDocs/example.xml" )
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy