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

Re: How to specify output file extension in SAXON.

Subject: Re: How to specify output file extension in SAXON.
From: Matthew Zimmerman <mz34@xxxxxxx>
Date: Wed, 30 Apr 2003 08:18:11 -0400
fil extension
Thanks Michael!

On Tuesday, April 29, 2003, at 04:32 PM, Michael Kay wrote:

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:  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


MZ
_________________
Matthew Zimmerman
Humanities Computing Group, NYU
Tel: 212.998.3038
Fax: 212.995.4120


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



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.