|<code>[http://www.xqueryfunctions.com/xq/fn_collection.html fn:collection()]</code>
|{{Mono|collection("db/path/to/docs")}}
|Returns all documents at the location {{Mono|path/to/docs}} in the database {{Mono|db}}.<br/>All documents in the database are will be returned if no path is specified.
|-
|<code>[http://www.xqueryfunctions.com/xq/fn_doc.html fn:doc()]</code>