Changes

Jump to navigation Jump to search
871 bytes added ,  13:03, 6 May 2019
=Namespaces=
In BaseXXQuery, many some namespaces are statically boundto prefixes. For example, the import module statement The following query requires no additional namespaces declarations in the following query is optionalprolog:
<pre class="brush:xquery">
import module namespace db <xml:abc xmlns:prefix= 'httpuri' local:fn='x'//docs.basex.org/wiki/Database_Module';>,dbfn:openexists('factbook'1)
</pre>
 
In BaseX, various other namespaces are predefined. Apart from the namespaces that are listed on the [[Module Library]] page, the following namespaces are statically bound:
 
{| class="wikitable sortable"
|-
! Description
! Prefix
! Namespace URI
|-
| [[#Annotations|BaseX Annotations]], [[#Pragmas|Pragmas]], …
| <code>basex</code>
| <code><nowiki>http://basex.org</nowiki></code>
|-
| [[RESTXQ#Input Options|RESTXQ: Input Options]]
| <code>input</code>
| <code><nowiki>http://basex.org/modules/input</nowiki></code>
|-
| [[Repository#EXPath_Packaging|EXPath Packages]]
| <code>pkg</code>
| <code><nowiki>http://expath.org/ns/pkg</nowiki></code>
|-
| [[XQuery Errors]]
| <code>err</code>
| <code><nowiki>http://www.w3.org/2005/xqt-errors</nowiki></code>
|-
| [[Serialization]]
| <code>output</code>
| <code><nowiki>http://www.w3.org/2010/xslt-xquery-serialization</nowiki></code>
|}
=Suffixes=
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu