The latest instructions on how to configure eXist support in <oXygen/> can be found on our website.
Copy eXist database jar resources. You have to copy the following eXist specific files in the [oXygen-install-folder]/lib directory
exist.jar (check for it into your eXist installation root directory)
xmldb.jar (check for it into /lib/core subdirectory of your eXist installation root directory)
xmlrpc-1.2-patched.jar (check for it into /lib/core subdirectory of your eXist installation root directory)
If you skip this step the application will display an error message when you try to validate or run the query.
Restart the <oXygen/> application.
Configure the eXist connection.
Go to Preferences -> XML->XSLT/FO/XQuery->XQuery->eXist and configure the XML DB URI, user and password. If you like to set a default collection you have to first press the Refresh button in order for the list to be populated.
Configure eXist as main validator for XQuery files.
Go to Preferences -> XML -> XSLT/FO/XQuery -> XQuery and set eXist for XQuery validation. Additionally you can set the other options.
Validate XQuery.
After step 4, you will benefit of the automatic validation feature and you can use Validate button to get a list of validation errors.
Execute XQuery.
Go to associated scenario configuration and select eXist as the transformation engine.
![]() | Note |
---|---|
Validation (points 4 and 5) works only with the development snapshot of eXist database. In order to take advantage of it, you should check-out the current CVS sources (http://sourceforge.net/cvs/?group_id=17691) and make your own build (after check-out just run ant). For previous versions (eXist-1.0b2 or the current eXist-snapshot-20060124.jar kit available on eXist site) you will get an warning that the validation operation is not available. Collection/resource management can be done using WebDAV (see http://wiki.exist-db.org/space/WebDAV, oxygenXML section). |