[xsl] Appending output to multiple documents

Subject: [xsl] Appending output to multiple documents
From: "Rafael R. Sevilla" <sevillar@xxxxxxxxxxxxxxxxx>
Date: Tue, 12 Jun 2001 15:53:48 +0800 (PHT)
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@xxxxxxxxxxxxxxxxx>   +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


Current Thread