
Sometimes I want to execute some XSLT (2.0) transformations from the (Mac OS X) command-line. In the past, I've just issued java -jar /Applications/oxygen/lib/saxon9.jar [buncha args here] but that no longer works, as the file saxon9.jar does not exist in the current release of oXygen. But what replaces it? I tried what seemed (to me) likely, saxon9sa.jar, but got the error message "Failed to load Main-Class manifest attribute ..." Any thoughts?

Hi Syd, Starting with oXygen 10 we include a licensed Saxon SA with oXygen. The Saxon SA distribution contains the Saxon B classes thus we do not ship Saxon B as a separate jar. The Saxon SA jar does not have a Main-Class entry inside its manifest file so you cannot use the -jar option. With Saxon SA you can use instead -cp to specify the classpath and then you need to specify also the main class net.sf.saxon.Transform. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Syd Bauman wrote:
Sometimes I want to execute some XSLT (2.0) transformations from the (Mac OS X) command-line. In the past, I've just issued java -jar /Applications/oxygen/lib/saxon9.jar [buncha args here] but that no longer works, as the file saxon9.jar does not exist in the current release of oXygen. But what replaces it? I tried what seemed (to me) likely, saxon9sa.jar, but got the error message "Failed to load Main-Class manifest attribute ..."
Any thoughts?
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
George Cristian Bina
-
Syd Bauman