Changes

Jump to navigation Jump to search
7 bytes added ,  13:30, 2 July 2020
no edit summary
This tutorial is part of the [[Getting Started]] Section.
It describes how to access BaseX from the [httphttps://www.oxygenxml.com oXygen XML Editor].
Currently, there are two alternatives how to use BaseX in oXygen:
===Preparations===
# Download one of the [httphttps://basex.org/download BaseX distributions].
# Start BaseX (see [[Startup]]).
# Create a BaseX database, if necessary (see [[Databases]]).
#* Set the user name to <code>admin</code>.
#* Set the password to <code>admin</code>.
#: [[File:Oxygen-WebDAV-1.png]]
# Now press ''OK'', and your Data Source is ready for use.
[[File:Oxygen-WebDAV-1.png]] You can then access your database file(s) via the Data Source Explorer: ''WindowsWindow'' → ''Show View'' → ''Data Source Explorer''.
[[File:Oxygen-WebDAV-2.png]]
===Preparations===
# Download one of the complete [httphttps://basex.org/download BaseX distributions] (ZIP, EXE), if necessary.
# Start BaseX (see [[Startup]]). '''Note:''' Charles Foster's XQJ implementation provides a default (client/server) and a local driver. If you want to use the first flavor, you need to start a [[Startup#Server|BaseX Server]] instance.
# Enter a name for your transformation, e.g. "BaseX" like in the screenshot below.
# Specify an optional XML and XQuery URL.
#* If you would like to query the BaseX database you connected to via WebDAV, leave the ''XML URL'' field empty. To access your database, you can use the following function from the BaseX [[Database_Module|Database Module]] in your ''XQuery URL'' file:#: [[File:Oxygen-query-example.png]]
#* If you specify an XML document in the ''XML URL'' field, you can query its content using {{Code|.}} (dot operator) in your ''XQuery URL'' file.
# Choose "BaseX XQJ" as Transformer from the combo box.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu