Changes

Jump to navigation Jump to search
4 bytes added ,  13:49, 30 January 2019
=Conventions=
* The module will be available if the {{Code|basex-api}} package must be included library is found in the classpath. This is always the case if you use one of the complete distributions of BaseX (zip, exe, war) of BaseX.* All functions are assigned to the <code><nowiki>http://exquery.org/ns/restxq</nowiki></code> namespace, which is statically bound to the {{Code|rest}} prefix. The Prior to {{Version|9.2}}, the module must needed to be imported in the query prolog:
<pre class="brush:xquery">
import module namespace rest = "http://exquery.org/ns/restxq";
...
</pre>
* In this documentation, the namespace is bound to the {{Code|rest}} prefix, and the The <code><nowiki>http://wadl.dev.java.net/2009/02</nowiki></code> namespace is bound to the {{Code|wadl}} prefix.* If any of the functions is called outside the servlet context, the error {{Error|BXSE0003|<code>[[XQuery Errors#BaseX Errors}} |basex:http]]</code> is raised.
=General Functions=
==rest:init==
 
{{Mark|Introduced with Version 8.6}}:
{| width='100%'
;Version 8.6
 
* Added: [[#rest:init|rest:init]]
This module was introduced with Version 7.7.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu