Re: [xsl] Appending output to multiple documents

Subject: Re: [xsl] Appending output to multiple documents
From: Janning Vygen <vygen@xxxxxxxxxxxx>
Date: Tue, 12 Jun 2001 11:06:01 +0200
Am Dienstag, 12. Juni 2001 10:38 schrieb Daniel Veillard:
> [ Forwarded to xsl-editors from xsl-list post by
>   "Rafael R. Sevilla" <sevillar@xxxxxxxxxxxxxxxxx> , Daniel ]
>
> On Tue, Jun 12, 2001 at 03:53:48PM +0800, Rafael R. Sevilla wrote:
> > 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. 

Cant you just load the document with document() before you truncate it with 
xsl:document. save the fragment tree in an xsl:varaible and write it to the 
xsl:document before you append the rest.

i didnt try it but it seems to be possible to me.

Janning

-- 
Planwerk 6 /websolutions
Herzogstraße 86
40215 Düsseldorf

fon 0211-6015919
fax 0211-6015917
http://www.planwerk6.de

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread