Changes

Jump to navigation Jump to search
192 bytes added ,  13:54, 25 February 2019
no edit summary
Depending on your operating system, you can launch a GUI instance of BaseX by double-clicking on the '''BaseX GUI''' start icon (Windows only) or running the <code>basexgui</code> script. Additional startup options are listed in the [[Startup#Graphical User Interface|Startup]] article.
In the GUI, select ''=Database'' → ''New'' and browse to an XML document of your choice. You can start with the {{Code|factbook.xml}} document, which contains statistical information on the worlds' countries. It is included in the {{Code|etc}} directory of our [http://basex.org/download full distributions] ( ZIP Package and Windows Installer) or can be downloaded [http://files.basex.org/xml/factbook.xml here] (1.3 MB). In the ''Create Database'' dialog, specify the path to your input file and the name of the new database. If you leave the input file field empty, an empty database will be created. Click the ''OK'' button to create the database.Management=
The BaseX GUI is a great place for creating and administrating your XML databases. To '''create a new database''', select ''Database'' → ''New'' from the menu and browse to an XML document of your choice. You can start with the {{Code|factbook.xml}} document, which contains statistical information on the worlds' countries. It is included in the {{Code|etc}} directory of our [http://basex.org/download full distributions] ( ZIP Package and Windows Installer) or can be downloaded [http://files.basex.org/xml/factbook.xml here] (1.3 MB). In the ''Create Database'' dialog, specify the path to your input file and the name of the new database. If you leave the input file field empty, an empty database will be created. Click the ''OK'' button to create the database. '''Note:''' You can also use the GUI's [[Graphical_User_Interface#Editor|editor ]] to create and edit your own XML document. Just specify it as input file for the creation of a new database after having saved the document to disk.
=Editor=
The BaseX's built-in text XML editor is a powerful tool for developing full [[RESTXQ]] applications. It can be used to write and run XQuery files and modules, edit XML and JSON documents, [[Commands#Basics|Command Scripts]], and any other text files:
* XQuery, XML and JSON files will be '''parsed''' in realtime, and '''errors''' will be highlighted.
administrator, editor
162

edits

Navigation menu