
xdmp:document-get-quality( $uri as xs:string ) as xs:integer?
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. |
xdmp:document-get-quality("example.xml")
=> 10
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.