2

Is it possible to use Saxon in XmlSpy (2013 PE) for XSLT processing? There's a setting for external EXE program, but Saxon being Java doesn't play well here.

enter image description here

raffian
  • 31,267
  • 26
  • 103
  • 174
  • 3
    Assuming XML Spy is a Windows application you could try the .NET version of Saxon and use the `Transform.exe` you have with .NET. Or figure out the command line path for running Saxon Java with the Oracle Java JRE e.g. `java.exe -jar C:\Programs\Saxonica\saxon9pe.jar %1 %2`. – Martin Honnen Aug 13 '14 at 14:04
  • @MartinHonnen literally just got the same working on my end! – raffian Aug 13 '14 at 14:13

1 Answers1

6

Ok, just figured this out (consistent with Martins comment above using java -jar):

java -jar <fullPathToJar>/saxon9.jar -s:%1 -o:%2 -xsl:%3
-s    xml source file
-o    output file
-xsl  (optional) xsl file

enter image description here

raffian
  • 31,267
  • 26
  • 103
  • 174