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

RE: Create text file

Subject: RE: Create text file
From: James Eberhardt <JEberhardt@xxxxxxxxxx>
Date: Tue, 27 Jun 2000 13:53:58 -0400
james eberhardt
True, you can't set the output file, but what I have done in the past is use
the original XSL file to create a .BAT file which includes command lines for
all the files.  

So, take this:
	<image name="abc" extension="txt">
		This text should be outputted!
	</image>
	<image name="def" extension="txt">
		This text should be outputted!
	</image>

Create this (file.bat):
	xt file.xml file.xsl abc.txt
	xt file.xml file.xsl def.txt

Then, run the bat file against your original XML and you should get the
files you want.  Let me know if this answer wasn't clear enough.

James Eberhardt


-----Original Message-----
From: Warren Hedley [mailto:w.hedley@xxxxxxxxxxxxxx]
Sent: Tuesday, June 27, 2000 11:58 AM
To: xsl-list@xxxxxxxxxxxxxxxx; Hakan Pettersson
Subject: Re: Create text file

You can't set the target for your output from within
an input document or XSL stylesheet unless you resort
to extensions functions (which are implemented in 
saxon, xt and xalan, AFAIK).


 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.