This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Appending output to multiple documents



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]