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@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
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format