This tutorial is part of the [[Getting Started]] Section.
It describes how to access BaseX from [https://www.eclipse.org Eclipse] via the [https://www.oxygenxml.com/doc/versions/20.1/ug-editorEclipse/topics/introduction.html oXygen XML Editor plugin].
The plugin offers the same features as specified in [
Integrating_oXygen]. However, the way to get there from within Eclipse it a little bit different.
Currently, there are two alternatives how to use BaseX in oXygen:
# Download and install Eclipse. '''Note:''' The current version of the oXygen XML Editor plugin was tested for Eclipse Version 4.8. Please also note that you will require an oXygen license to use the plugin.
# Follow the instructions in the [https://www.oxygenxml.com/doc/versions/20.1/ug-editorEclipse/topics/install-eclipse.html oXygen Manual] to install the plugin.
# In Eclipse, click on the oXygen icon in the right
upper corner to open the plugin. The XML Project you created during the installation of the plugin should be displayed in the ''Navigator'' panel. In this example, it is called ''BaseXProject''.
# Download one of the [
http://basex.org/download BaseX distributions].
# Start BaseX (see [[Startup]]).
# Create a BaseX database, if necessary (see [[Databases]]).
# In Eclipse, go to menu ''Eclipse'' → ''Preferences''. In the ''Preferences'' dialog, chose the ''oXygen XML Editor'' item, and then the ''Data Sources'' subitem.
# Press ''OK'' to close the dialog.
# In the ''Preferences'' dialog, chose the ''oXygen XML Editor'' → ''Network Connection Settings'' → ''HTTP(S)/WebDAV'' subitem. Activate the ''Enable the HTTP/WebDAV protocols'' check box to enable WebDAV support.
# Click ''Apply and Close'' to close the ''Preferences'' dialog.
# If prompted, restart Eclipse to activate all changes.
# Click ''OK''.