Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:document-get-quality

xdmp:document-get-quality(
   $uri as xs:string
) as xs:integer?

Summary

Returns the quality of the specified document if the document exists. Otherwise, returns the empty sequence.

Parameters
uri The URI of the document in question.

Example

xdmp:document-get-quality("example.xml")
=> 10

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