The latest instructions on how to configure MarkLogic support in <oXygen/> can be found on our website.
Copy jar resources. Go to http://xqzone.marklogic.com/download/ and download Java and .NET XDBC distributions (XDBC Connectivity Packages) http://xqzone.marklogic.com/svn/xdbc/releases/MarkXDBC.Java-3.0-6.zip. Extract the following files to [oXygen-install-folder]/lib directory
If you skip this step the application will display an error message when you try to run the query.
Restart the <oXygen/> application.
Create an XDBC server in order to connect to it from <oXygen/>. You can create and configure an XDBC Server using the Admin interface: start the XDBCServer Administration page, browse through Configure->Default->App Servers and press the "Create XDBC" tab from the right side panel. Choose a server name, a library path (on Linux choose /opt/MarkLogic/etc) a port number (for example 8002) and other details like database or modules. Leave the address set to 0.0.0.0 in order to permit access to the XDBC server from anywhere.
For a detailed description of XDBC server creation see chapter 6 of the MarkLogic admin manual http://xqzone.marklogic.com/pubs/3.1/books/admin.pdf.
Configure the MarkLogic connection.
Go to Preferences -> XML -> XSLT/FO/XQuery -> XQuery -> MarkLogic and configure the server host, port, user and password.
Execute XQuery.
Go to associated scenario configuration and select MarkLogic as the transformation engine.