Changes

Jump to navigation Jump to search
135 bytes removed ,  12:27, 29 July 2020
The BaseX GUI is a great place for creating and managing 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 [httphttps://basex.org/download full distributions] ( ZIP Package and Windows Installer) or can be downloaded [httphttps://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 saving the document to disk.
All XQuery files in the project directory will be parsed in the background. Buggy XQuery modules, and files importing these modules, will be marked red. With the text fields on top, you can interactively search for file names and contents.
{{Mark|Updated with Version 9.3:}} If a directory contains a {{Code|.ignore}} file, its files and contents will be ignored.
=Input Bar=
<table cellpadding="0" cellspacing="10"><tr><td valign="top" width="50%">
[[Image:Result.png|thumb|200px|Result View]]
'''Result''' (''View'' menu)
:Displays query results and other textual output (e.g. content of the currently open database). Query results can be saved in a file.
</td><td valign="top" width="50%">
[[Image:InfoView.png|thumb|200px|Info View]]
'''Info''' (''View'' menu)
:Helpful for analyzing the query plans of your XQuery expressions. It also displays information on the compilation and evaluation of queries.
</td></tr><tr><td valign="top" width="50%">
[[Image:Map.png|thumb|200px|Map View]]
'''Map'''
:Displays all data in a [httphttps://en.wikipedia.org/wiki/Treemap TreeMap]. All nodes of the XML document are represented as rectangles, filling the complete area. You can choose different layout algorithms in the Menu ''Options'' → ''Map Layout''.
</td><td valign="top" width="50%">
[[Image:Tree.png|thumb|200px|Tree View]]
'''Tree'''
:Displays all XML nodes in a top down tree with edges and nodes. You can change some settings of the Tree in the Menu ''Options'' → ''Tree Options''.
</td></tr><tr><td valign="top" width="50%">
[[Image:Folder.png|thumb|200px|Folder View]]
'''Folder'''
:Displays all nodes in an Explorer-like folder view. Nodes can be expanded or closed by clicking on the arrows.
</td><td valign="top" width="50%">
[[Image:Scatterplot.png|thumb|200px|Scatterplot View]]
'''Plot'''
:Displays all nodes in a scatterplot, which is particularly helpful if you want to explore analyze your data. Three drop down menus allow custom axis assignments.
</td></tr><tr><td valign="top" width="50%">
[[Image:Table.png|thumb|200px|The Table View]]
'''Table'''
:Comes in handy if your data is highly regular. It displays all nodes in a table with rows and columns. Different assignments can be chosen by clicking on the arrow in the right upper corner.
</td><td valign="top" width="50%">
[[Image:Explorer.png|thumb|200px|Explorer View]]
'''Explorer'''
;Version 9.3
 
* Updated: Project View: ignore directories with {{Code|.ignore}} file
;Version 9.1
 
* Added: Project View, set XML document as context.
;Version 8.4
 
* Added: highlighting of erroneous XQuery modules in the project view.
;Version 8.0
 
* Updated: support for dark look and feels; support for JTatto library
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu