MarkLogic 12 EA 1 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
Powered by MarkLogic Server | Terms of Use | Privacy Policy