[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: easiet method to process xml with xsl

Subject: Re: easiet method to process xml with xsl
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 05 Feb 2009 13:46:45 -0500
Re:  easiet method to process xml with xsl
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.