Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] easiet method to process xml with xsl

From: "G. Ken Holman" <gkholman@-------------------->
To:
Date: 2/5/2009 6:47:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent