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

Re: Having more then one output file for one Stylesheet

Subject: Re: Having more then one output file for one Stylesheet
From: Jeni Tennison <mail@xxxxxxxxxxxxxxxx>
Date: Sat, 02 Sep 2000 08:37:31 +0100
Re: Having more then one output file for one Stylesheet
Deirdre,

>I was just wondering is it possible to have two separte output files for
>one Style Sheet.
>I need to create two different output files, an XML file and a text file,
>both containing different information.  I would like to be able to have the
>processing for this in one Stylesheet.  For this to work I need to be able
>to output to two different files.

There isn't the facility to do it within basic XSLT *but* most XSLT
processors have extension elements that allow you to direct output to a
particular file.  You haven't said what XSLT processor you're using, so I
recommend that you have a look at the documentation for that processor (or
tell us what you're using and someone will be able to tell you what you can
do with it).

The other option is to use a parameter within the stylesheet to indicate
whether text or XML should be produced on a particular run.  How you pass
parameters into the stylesheet and how you get the output directed to a
particular file are (again) dependent on the XSLT processor.

Sorry not to be of more help,

Jeni

Jeni Tennison
http://www.jenitennison.com/


 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.