Welcome to the Query Portal, which is one of the Main Sections of this documentation. Here you can find more information on performing XPath and XQuery requests. Apart from standard features, BaseX offers numerous extensions, which are listed on this page.
- XQuery 3.0: supported features of the upcoming XQuery 3.0 and XPath 2.0 Recommendations
- Packaging: Based on the EXPath Packaging System
- Full-Text: full-text features of XQuery
- Updates: update mechanism of XQuery
- Java Bindings: how to call Java code from XQuery
- Errors: errors raised by XQuery expressions
- Serialization: supported serialization parameters
The namespaces of the following XQuery modules are statically bound in BaseX, i.e., they need not (but may) be declared in the query prolog.
|Cryptography||Cryptographic functions, based on the EXPath Cryptograhic module. Version 7.0||
|Database||Functions for accessing and updating databases.||
|File||File handling, based on the upcoming new version of the EXPath File module.||
|Full-Text||Functions for performing full-text operations.||
|HTTP||Sending HTTP requests, based on the EXPath HTTP module.||
|Index||Functions for requesting details on database indexes. Version 7.1||
|JSON||Parsing and serializing JSON documents. Version 7.0||
|Map||Functions for handling maps (key/value pairs).||
|Math||Mathematical operations, extending the W3C Working Draft.||
|SQL||JDBC bridge to access relational databases. Version 7.0||
|Utility||Utility functions, used for data conversions, profiling and dynamic evaluation.||
|XSLT||Stylesheet transformations, based on Java’s and Saxon’s XSLT processor.||
|ZIP||ZIP functionality, based on the EXPath ZIP module.||
The new XQuery 3.0 functions are all supported by BaseX as well.