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]
Other format: [Raw text]

Re: appendig to multiple output files



> But how do I append data to the "other" document in my various templates 
> without overwriting the output file?

you don't (although I think some systems do have extensions for
appending) but you should think of writing to a file the same as
constructing an element. It isn't teh XSLT way to be adding things as
you go along. A single template should produce the document node
corresponding to your document and then apply templates within that to
generate whatever is needed.

David
beware of relying too much on the xslt 1.1 draft though it will not
progress past working draft stage as it was pulled in favour of working
on xslt 2.


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 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]