This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Create text file
- To: xsl-list at mulberrytech dot com
- Subject: RE: Create text file
- From: James Eberhardt <JEberhardt at extend dot com>
- Date: Tue, 27 Jun 2000 13:53:58 -0400
- Reply-To: xsl-list at mulberrytech dot com
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@auckland.ac.nz]
Sent: Tuesday, June 27, 2000 11:58 AM
To: xsl-list@mulberrytech.com; 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