cpf:document-get-error( $doc as xs:string ) as node()?
Fetch a trace of the error that caused the document's processing to fail, 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-error( "/myDocs/example.xml" )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.