Changes

Jump to navigation Jump to search
108 bytes added ,  14:06, 11 February 2019
no edit summary
#* 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]]
#* {{Code|basex/lib/xqj2-0.2.0.jar}}
#* {{Code|basex/lib/basex-xqj-9.0.jar}}
#* {{Code|basex/basexBaseX.jar}}, if you want to use BaseX embedded
# Under "Driver class", choose the preferred driver class:
#* Embedded: {{Code|net.xqj.basex.BaseXXQDataSource}}
# 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. In To access your database, you can use the following function from the BaseX [[Database_Module|Database Module]] in your ''XQuery URL'' file, you can access the database using {{Code|db:open("nameOfYourDatabase")}}#: [[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.
==Execute Query==
After the one-time setup steps are complete, you can execute your query using the new transformation scenario. Start the transformation by clicking the red Run button (''Apply associated scenarios'') in the Transformation Scenarios window, while your scenario is selected. The results should be immediately displayed in the result panel.
administrator, editor
162

edits

Navigation menu