[Home] [By Thread] [By Date] [Recent Entries]
At 2009-02-05 19:36 +0100, Manuel Souto Pico wrote:
I know three methods to process an XML document with an XSL template to obtain the target XML upon which the transformation has been inflicted. One of them is Saxon and the other one is Xalan, but I didn't get my head around installing them (and modifying the java classpath and all that), so I used the third option, which is using any of those processors as they conveniently come integrated in the oXygen editor, so I just select the XML, the XSL and the processor, click Run and wait. You don't need to get your "head around installing them (and modifying the java classpath and all that)" to run Saxon ... all you need is this: For Saxon 6.5.5: java -jar saxon.jar -o result data.xml stylesheet.xsl For Saxon 9.0.1.5J: java -jar saxon9.jar -o result data.xml stylesheet.xsl If the JAR file isn't in the same directory, use a full path name. No need to play with the class path at all. I hope this helps. . . . . . . . . . . . . Ken -- Upcoming hands-on XSLT, UBL & code list hands-on training classes: Brussels, BE 2009-03; Prague, CZ 2009-03, http://www.xmlprague.cz Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



