Changes

Jump to navigation Jump to search
197 bytes added ,  23:26, 25 April 2012
|}
The {{Mono|fn:document-uri()}} and {{Mono|fn:base-uri()}} functions returns paths return URIs that can be reused as arguments for the {{Mono|fn:doc()}} and {{Mono|fn:collection()}} functions.As a result of this, as an example, the following query will always return {{Mono|true}}: <pre class="brush:xquery">every $c in collection('anyDB')satisfies doc-available(document-uri($c))</pre>
If the argument of {{Mono|fn:doc()}} or {{Mono|fn:collection()}} does not start with a valid database name, or if the addressed database does not exist, the string is interpreted as URI reference, and the documents found at this location will be returned. Examples:
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu