[xsl] How to specify output file extension in SAXON.

Subject: [xsl] How to specify output file extension in SAXON.
From: Matthew Zimmerman <mz34@xxxxxxx>
Date: Tue, 29 Apr 2003 15:49:33 -0400
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



Current Thread