Changes

Jump to navigation Jump to search
107 bytes added ,  12:39, 14 July 2020
no edit summary
This article is part of the [[XQuery|XQuery Portal]].
In addition to the standard [httphttps://www.w3.org/TR/xpath-functions-3031/ XQuery Functions], BaseX comes with some hundred additional functions, which are packaged in various modules.
The namespaces of the following built-in modules are statically knownbound to their prefix. This means that they need not be (but may ) be) declared in the query prolog. =Conventions=
{| class="wikitable sortable"
| <code><nowiki>http://basex.org/modules/html</nowiki></code>
|-
| [[HTTP Client Module|HTTPClient]]
| Sending HTTP requests, based on the [http://expath.org/spec/http-client EXPath HTTP] module.
| <code>http</code>
|-
| [[JSON Module|JSON]]
| Parsing and serializing [httphttps://www.json.org JSON documents].
| <code>json</code>
| <code><nowiki>http://basex.org/modules/json</nowiki></code>
|-
| [[Math Module|Math]]
| Mathematical operations, extending the [httphttps://www.w3.org/TR/xpath-functions-3031/ W3C Working Draft].
| <code>math</code>
| <code><nowiki>http://www.w3.org/2005/xpath-functions/math</nowiki></code>
|-
| [[Update Module|Update]]
| Functions for performing updates. {{Mark|Introduced with Version 9.0}}
| <code>update</code>
| <code><nowiki>http://basex.org/modules/update</nowiki></code>
|}
Some additional external The following modules exist, which can will be used as follows: * The available if the {{Code|basex-api}} package must be library is included in the classpath. This is automatically will be the case if you use start BaseX with one of the startup scripts or links provided by our complete distributions (zip, exe, war) of BaseX.* The modules must be explicitly imported in the query prolog.
{| class="wikitable sortable"
| <code>sessions</code>
| <code><nowiki>http://basex.org/modules/sessions</nowiki></code>
|-
| [[WebSocket Module|WebSocket]]
| Functions for handling WebSocket connections.
| <code>ws</code>
| <code><nowiki>http://basex.org/modules/ws</nowiki></code>
|}
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu