Open main menu

Wikipedia β

BaseX is a native and light-weight XML database management system and XQuery processor, developed as a community project on GitHub.[1] It is specialized in storing, querying, and visualizing large XML documents and collections.[2] BaseX is platform-independent and distributed under a permissive free software license.

BaseX GUI showing an XML document in various visualizations
Original author(s) Christian Grün
Developer(s) BaseX Team
Initial release 2007
Stable release
8.6.7 / September 21, 2017; 20 days ago (2017-09-21)
Development status Active
Written in Java
Operating system Cross-platform
Available in English, German, Japanese, French, Italian, others
Type XML database
License BSD

In contrast to other document-oriented databases, XML databases provide support for standardized query languages such as XPath and XQuery. BaseX is highly conformant to World Wide Web Consortium (W3C) specifications[3][4] and the official Update and Full Text extensions. The included GUI enables users to interactively search, explore and analyze their data, and evaluate XPath/XQuery expressions in realtime (i.e., while the user types).



Database LayoutEdit

BaseX uses a tabular representation of XML tree structures to store XML documents. The database acts as a container for a single document or a collection of documents. The XPath Accelerator encoding scheme and Staircase Join Operator have been taken as inspiration for speeding up XPath location steps.[6] Additionally, BaseX provides several types of indices to improve the performance of path operations, attribute lookups, text comparisons and full-text searches.[7]

Project HistoryEdit

BaseX was started by Christian Grün at the University of Konstanz in 2005. In 2007, BaseX went open source and has been BSD-licensed since then.[8][9]

Supported systemsEdit

The BaseX server is a pure Java 1.7 application and thus runs on any system that provides a suitable Java implementation. It has been tested on Windows, Mac OS X, Linux and OpenBSD.[10] In particular, packages are available for Debian[11] and Ubuntu.[12]

Further readingEdit


  1. ^ GitHub: BaseX
  2. ^ "Overview on database instances created with BaseX". Retrieved 30 June 2011. 
  3. ^ "W3C: XQuery Test Suite Result Summary". World Wide Web Consortium. Retrieved 30 June 2011. 
  4. ^ "W3C: XPath and XQuery Full Text 1.0 Test Suite Result Summary". World Wide Web Consortium. Retrieved 30 June 2011. 
  5. ^ BaseX XQJ API
  6. ^ Christian Grün; Marc Kramis; Alexander Holupirek; Marc H. Scholl; Marcel Waldvogel (30 June 2006). "Pushing XPath accelerator to its limits" (PDF). Universität Konstanz. Archived from the original (PDF) on 27 September 2011. Retrieved 30 June 2011. 
  7. ^ "Storing and Querying Large XML Instances" (PDF). Universität Konstanz. Archived from the original (PDF) on 9 October 2011. Retrieved 30 June 2011. 
  8. ^ "BaseX 5.0: XML Database with Visual Frontend". Linux Magazine. Retrieved 30 June 2011. 
  9. ^ "Open Source Kompetenzzentrum of the german Bundesverwaltungsamt" (in German). Archived from the original on 3 November 2011. Retrieved 30 June 2011. 
  10. ^ "Startup - BaseX Documentation". 
  11. ^ "Debian -- Package search results -- basex". 
  12. ^ "basex package: Ubuntu". 

External linksEdit