[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 2009-02-05 19:36 +0100, Manuel Souto Pico wrote:
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
Re: [xsl] easiet method to process xml with xsl
Subject: Re: [xsl] easiet method to process xml with xsl From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Thu, 05 Feb 2009 13:46:45 -0500 |
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.
For some reasons, it would be convenient for me to start using another method which doesn't resort to third-party applications. So, the question is: Is there any other way apart from the ones that I mentioned and which is easy to install and use for a fool like me? Ideally it would be usable on the command line (Window's or Cygwin).
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] easiet method to process xml , Manuel Souto Pico | Thread | Re: [xsl] easiet method to process , Andy Chambers |
[xsl] easiet method to process xml , Manuel Souto Pico | Date | Re: [xsl] easiet method to process , Andy Chambers |
Month |