Using XProc to load documents into Mark Logic with oXygen 11

For those people wanting to use XProc (Calabash + Mark Logic Extensions) to load content into Mark Logic Server by using an oXygen 11 XProc transformer then you will need to do the following:

Edit the $OXYGEN_HOME$/lib/xproc/calabash/engine.xml file thus:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE engine SYSTEM "../engine.dtd"> <engine 
    name="Calabash XProc"
    description=""
    vendor="SyncRo Soft"
    version="1.0"
    engineVersion="0.9.15"
    supportsValidation="true"
    class="ro.sync.xml.transformer.xproc.calabash.XProcTransformerImpl">
    <runtime>
        <library name="calabash.jar"/>
        <library name="commons-logging-1.1.1.jar"/>
        <library name="saxon9-dom.jar"/>
        <library name="saxon9-s9api.jar"/>
        <library name="saxon9sa.jar"/>
        <library name="xprocCalabash.jar"/>
    	  <library name="xcc.jar"/>
    </runtime>
</engine>

Adding the <library name="xcc.jar"/> element as seen in the above example.

You must also put the xcc.jar in:

$OXYGEN_HOME$/lib/xproc/calabash/

Get the 'Java XCC distribution' from the Mark Logic developer:network download page:

<http://xqzone.com/download/>


Regards

Philip Fennell
Consultant

Mark Logic
www.marklogic.com

E-mail: philip.fennell@marklogic.com
Mobile: +44 (0)7824 830 866 

Received on Wednesday, 21 October 2009 16:00:39 UTC