This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Appending output to multiple documents
- To: Mulberrytech XSL List <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] Appending output to multiple documents
- From: "Rafael R. Sevilla" <sevillar at team dot ph dot inter dot net>
- Date: Tue, 12 Jun 2001 15:53:48 +0800 (PHT)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Been playing a bit with Saxon and its partial implementation of the XSLT
1.1 draft. here. I've been wondering if there is a way for multiple
<xsl:document/> constructions that reference the same file to *append*
their outputs to the file instead of truncating the original file and
replacing its contents. Useful for the case where I had two different
templates that had to spew their output to the same file, in the order
they were matched. Is there something in the standard I missed, or is
this currently impossible and I would need to hack my XSLT processor and
then propose to the W3C a mode attribute to <xsl:document/> that would
control whether output to files that already exist should be appended or
overwritten?
--
Rafael R. Sevilla <sevillar@team.ph.inter.net> +63(2) 8177746 ext. 8311
Programmer, InterdotNet Philippines +63(917) 4458925
http://dido.engr.internet.org.ph/
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d- s:- a- C++++ UL+++ P+++ L+++ E++ W++ N+ o K- w---
O- M-- V- PS+ PE Y+ PGP++ t+ 5 X+ R tv+ b+++ DI++ D+
G e++ h! r++ y+
------END GEEK CODE BLOCK------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list