document($document-uris as xs:string+, ...) node()*
Returns the documents specified in the input sequence. This function is specific to eXist and will be replaced with the corresponding fn:doc function. Collection URIs can be specified either as a simple collection path or an XMLDB URI. If the input sequence is empty, the function will load all documents in the database.
$document-uris
The document URIs
Returns the documents
Deprecated: Moved to the 'http://exist-db.org/xquery/xmldb' namespace since it conflicts with the XSLT 2.0 function.
This function could be removed at anytime during the 1.5 development and will be removed in the 1.6 release.