Subject: Re: Creating csv from multiple input files
From: "Georg Hohmann" <georg.hohmann@xxxxxxxxx>
Date: Tue, 6 May 2008 17:14:32 +0200
|
Many thanks for all the answers!
Following Andrew's advice, it finally works!
And it's only 2 hours ago that I contacted the mailinglist.
Great!
Georg.
2008/5/6 Andrew Welch <andrew.j.welch@xxxxxxxxx>:
> 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
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
|