|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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. No, that's not part of the W3C specification, and it's not part of the Saxon implementation. I think the xalan:redirect extension offers this capability, though. It's difficult to specify because it's intrinsically undefined what order things happen in: XSLT is not a sequential language. I would suggest writing the output files to separate entities, and then bringing them together using entity references; or just rearrange the stylesheet logic so each output file is written by one template - that's how you have to organise things to produce any other chunk of output, after all. Mike Kay Software AG 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
|

Cart








