<oXygen/> XML Editor / Mark Logic Integration
This mini tutorial is courtesy of <oXygen/> XML Editor as a quick introduction to the new Mark Logic integration in <oXygen/> XML Editor. -Ed
How to configure MarkLogic support in <oXygen/>
<oXygen/> XML Editor | June 2006
Copy XDBC jar resources. Go to the MarkLogic developer site and download the Java and .NET XDBC distributions (XDBC Connectivity Packages). Once you have the MarkXDBC.Java-3.0-6.zip file, extract the following files to the [oXygen-install-folder]/lib directory:
- xdbc.jar
- xdmp.jar
WARNING: If you skip this step the application will display an error message when you try to run any queries.
Restart the <oXygen/> application.
Configure the MarkLogic connection.
Go to Preferences -> XML -> XSLT/FO/XQuery -> XQuery -> MarkLogic and configure the server host, port, user and password.
- Create an
XQuery buffer.
Create a new file of type 'XQuery" and enter some XQuery code into it:
- Pull down the Document -> ->
(CTL-SHIFT_C) menu item. The Configure Transformation Scenario dialog
appears.
Select the Execute XQuery item and press the Edit button. - The Edit scenario dialog appears. In the Transformer
pull-down
menu, set MarkLogic as your transformation engine and press the OK
button.
- You are now ready to start the transformation
using MarkLogic. Press the Apply Transformation button in the oxygen
UI, and ...
- ... presto! The results of your XQuery are visible in the
output panel
of the oXygen IDE:
You can download a free, 30 day trial of <oXygen/> XML Editor with integrated support for MarkLogic Server.