Page 1 of 1
Custom Engines in Oxygen 8.0
Posted: Thu Sep 17, 2009 6:16 pm
by jvernon
I am trying to install the Saxon9HE in Oxygen 8.0 but I am having some issues.
I copied the saxon9he.jar file to the C:\Program Files\Oxygen XML Editor 8.0\lib location and I have read the instructions located here,
http://www.oxygenxml.com/doc/ug-oxygen/ ... gines.html and
http://sourceforge.net/apps/mediawiki/s ... _on_Oxygen and I haven't had any luck. Or I just don't understand the instructions.
It is probably an issue with the command line portion of the custom engines configuration.
Thanks,
Jason
Re: Custom Engines in Oxygen 8.0
Posted: Fri Sep 18, 2009 9:59 am
by sorin_ristache
Hello,
Did you set your custom XSLT engine in a transformation scenario? What error do you get when you try to use the custom engine in an XSLT transformation?
Does the command that you set for
the custom XSLT engine work at a command line outside Oxygen? If yes please post it here.
Regards,
Sorin
Re: Custom Engines in Oxygen 8.0
Posted: Fri Sep 18, 2009 8:36 pm
by jvernon
I spoke with an IT resource at my company and they said my command line was incorrect but they didn't know off hand what it should be.
Do you have instructions on how the construct the correct command line to use this custom engine? The location of my jar file is:
C:\Program Files\Oxygen XML Editor 8.0\lib\saxon9he.jar
Thanks,
Jason
Re: Custom Engines in Oxygen 8.0
Posted: Mon Sep 21, 2009 11:52 am
by sorin_ristache
Hello,
You find the command line of an external engine in the documentation of that engine. For example for Saxon 9 EE the command line is the following and for Saxon 9 HE it should be similar:
Code: Select all
java -cp saxon9ee.jar;. net.sf.saxon.Transform -s:file.xml -xsl:stylesheet.xsl
When you configure the external engine in Preferences -> XML -> XSLT-FO-XQuery -> Custom Engines you can use in the command line the editor variables from the window opened by the
small arrow button: ${xml}, ${xmlu}, ${xsl}, ${xslu}, etc. for example:
Code: Select all
java -cp saxon9ee.jar;. net.sf.saxon.Transform -s:${xml} -xsl:${xsl}
Regards,
Sorin