doc-available($document-uri as xs:string?) xs:boolean
Returns whether or not the document, $document-uri, specified in the input sequence is available. Resource URIs can be specified either as a simple collection path, an XMLDB URI or any URI.
$document-uri
The document URI
Returns true() if the document is available, false() otherwise