XQuery Editor

This area is a basic text editor of XQuery source code, performing syntax coloring.

A file can be loaded in the editor through the menu FileOpen XQuery, and conversely the source code can be saved with menu FileSave XQuery.

Caution

No check is performed when saving or when exiting the application, however the query history (see below) keeps trace of all queries entered.

Specifying the path of a XQuery source file in the command-line of Qizx Studio will automatically load the file. This happens if the file extension (in principle .xq) has been associated with the Qizx Studio application, depending on the Operating System used.

The editor has several buttons and controls in the tool-bar above:

Query Execution

The button Execute compiles the current query and evaluates it. During execution the button changes to Stop.

The result sequence is displayed in the Result View. A message in the Message View below tells the number of items in the result sequence, and the time in milliseconds taken by the evaluation.

Stopping Query execution

A lengthy evaluation can be canceled with the button Stop . No results are displayed.

Clear editor text

The button clears the editor, to type a new expression.