Using Ibex with Saxon

Ibex can be used with the Saxon XSLT processor. By default Ibex uses the XSLT processor which is included in your JRE or JDK.

Saxon Downloads

Saxon can be downloaded from the Saxon website.

Supported versions

We have tested Ibex with Saxon versions 6.5.5 and 8.9.

Using Ibex with Saxon 6.5.5

To make Ibex uses Saxon instead of the default XSLT processor you need to do two things:

  • Add Saxon to the classpath, like this:

    java -classpath \saxon-6.5.5\saxon.jar;\ibex\ibex-4.3.6.jar ...
              
  • Define the XML transformer factory using the -D command line option, like this:

    java -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl ...
    

So a full Saxon 6.5.5 command line looks like this:

    java -classpath \saxon-6.5.5\saxon.jar;\ibex\ibex-4.3.6.jar
      -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl 
      ibex.Run -xml test.xml -xsl test.xsl -pdf test.pdf
        

Using Ibex with Saxon 8.9

To make Ibex uses Saxon instead of the default XSLT processor you need to do two things:

  • Add Saxon to the classpath, like this:

    java -classpath \saxon-8.9\saxon8.jar;\ibex\ibex-4.3.6.jar ...
              
  • Define the XML transformer factory using the -D command line option, like this:

    java -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl ...
    

So a full Saxon 8.9 command line looks like this:

    java -classpath \saxon-8.9\saxon8.jar;\ibex\ibex-4.3.6.jar
      -Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl 
      ibex.Run -xml test.xml -xsl test.xsl -pdf test.pdf