<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

  1. 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.

  2. Restart the <oXygen/> application.

  3. Configure the MarkLogic connection.

    Go to Preferences -> XML -> XSLT/FO/XQuery -> XQuery -> MarkLogic and configure the server host, port, user and password.

    Preferences dialog

  4. Create an XQuery buffer.

    Create a new file of type 'XQuery" and enter some XQuery code into it:

    XQuery code buffer

  5. Pull down the Document -> XML Document -> Configure transformation scenario (CTL-SHIFT_C) menu item. The Configure Transformation Scenario dialog appears.


    Configure Transformation dialog

    Select the Execute XQuery item and press the Edit button.

  6. The Edit scenario dialog appears. In the Transformer pull-down menu, set MarkLogic as your transformation engine and press the OK button.



    Transformation dialog

  7. You are now ready to start the transformation using MarkLogic. Press the Apply Transformation button in the oxygen UI, and ...

    Apply transformation


  8. ... presto! The results of your XQuery are visible in the output panel of the oXygen IDE:

    XQuery results


You can download a free, 30 day trial of <oXygen/> XML Editor with integrated support for MarkLogic Server.