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

Re: Creating csv from multiple input files

Subject: Re: Creating csv from multiple input files
From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 6 May 2008 15:39:27 +0100
Re:  Creating csv from multiple input files
2008/5/6 Georg Hohmann <georg.hohmann@xxxxxxxxx>:

>  java -jar saxon9.jar xml2csv.xslt
>  But this does not work due to the lack of an input file.
>  Could you please help a bit further?

Give your root matching template a name, such as "main"

<xsl:template match="/" name="main">

then set the "initial template" switch on the command line:

java -jar saxon9.jar -it main xml2csv.xslt

or just use the "Standalone" tab on Kernow, click the "auto" button to
discover named templates and choose the one you want to run.

The other way is to just apply the stylesheet to itself, but that's
lame - standalone transforms are the future! :)

Andrew Welch
Kernow: http://kernowforsaxon.sf.net/

Current Thread


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.
First Name
Last Name
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.