Subject: RE: [xsl] How to specify output file extension in SAXON. From: "Michael Kay" <mhk@xxxxxxxxx> Date: Tue, 29 Apr 2003 21:32:22 +0100 |
The Saxon command line is not a programming language: it is intended for ad-hoc one time transformations, not for programming production applications. You need to write your own Java application that drives Saxon using the JAXP API. You could start with the code that implements the Saxon command line (Transform.java) if you want a quick way to get started. Or if you don't want to write Java, you can script transformations using ant. I haven't tried it though. Michael Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Matthew Zimmerman > Sent: 29 April 2003 20:50 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: [xsl] How to specify output file extension in SAXON. > > > Hi, > > I have been doing some simple XML to HTML transformations using SAXON > from the command line. > > java -jar saxon.jar -o htmldir/file.html xmldir/file.xml > xsltdir/file.xsl > > That works fine. > > I know to do batch process I use > > java -jar saxon.jar - htmldir xmldir xsltdir/.xls > > But, I want the output files to have .html extensions, not .xml. > > How do I do that? In the XSLT? At the command line. > > Thanks for your help. > > Matt Zimmerman > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] How to specify output file ex, Matthew Zimmerman | Thread | Re: [xsl] How to specify output fil, Matthew Zimmerman |
RE: [xsl] passing NodeList through , Martinez, Brian | Date | RE: [xsl] passing NodeList through , Fernandes, John |
Month |