All apps/BaseX

BaseX

basex

A light-weight and high-performance XML database engine.

Runs as basex|macOS, Linux, Windows|basex.org

Command form

ai-draft · 2 tasks · 7 fields

Evaluate an XQuery expression or file with the BaseX standalone CLI. Command scripts, server options and toggles are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui basex
Run an XQueryExample values, fixed in this page — nothing here reaches a terminal
Basic
XQuery expression*
string
Context file or database
any
Output file
file
TasksEach one presets the form for one job
Evaluate an expression
exprcontextoutput
Run a query file
query_filecontextoutput
ParametersOnly these flags are editable in the form
XQuery expression
string
-q
XQuery file
path
-Q
Context file or database
path
-i
Bind variable (name=value)
string · repeatable
-b
Serialization parameter (name=value)
string · repeatable
-s
Output file
path
-o
Run count
integer
-r
SourcesEvery flag above is checked against these
docs
Usage: basex [options...] [input] -b<var> Bind query variable (name=value) -i<input> Bind file or database to context -o<path> Write output to local file -q<expr> Execute XQuery expression -Q<file> Execute XQuery file -r<num> Run query multiple times -s<param> Set serialization parameter (name=value) -Q query.xq
manual12

docs.basex.org

Before it fills your prompt, Otty checks the installed basex against its version. A form that does not match your version is not offered.