Xinc can be configured to use the Saxon XSLT engine instead of Xalan. You will need to replace any reference to the Xalan libraries with a reference to the Saxon library.
If you are running on a Windows platform you will need to edit Xinc.lax and
XincUI.lax. These files are found in your install directory. Typically this would be
'c:\Program Files\Xinc'. Open the files in a text editor and comment out the 'lax.class.path'
lines using a '#' symbol at the start of the line. Add a new lax.class.path line referring to the
Saxon jar file instead of the Xalan jar files. Your files should now have lines in them that look like
this:
#lax.class.path=lib/ui.jar;lib/xalan-j_2_5_1/xalan.jar;lib/xalan-j_2_5_1/xml-apis.jar;lib/xalan-j_2_5_1/xercesImpl.jar;lib/jh.jar;lib/xinc.jar;lib/commons-logging.jar;lax.jar
lax.class.path=lib/ui.jar;/apps/saxonb8.4/saxon8.jar;lib/jh.jar;lib/xinc.jar;lib/commons-logging.jar;lax.jar
Now modify the 'lax.nl.java.option.additional' line so that it looks like this:
#lax.nl.java.option.additional="-Djava.endorsed.dirs=C:\\Program Files\\Xinc/lib/xalan-j_2_5_1"
lax.nl.java.option.additional="-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl"
If you use the sample batch files you will need to modify them in a similar manner.
You will need to ensure that the Saxon jar file is in your classpath. You should also remove
all references to the Xalan jars from your classpath. In addition the following System property
should be set:
-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl