Re: Update an existing element in a result tree?

did you mean to ask this on xsl-list? it doesn't appear to be a comment
on the working drafts (the subject of this list).

xslt doesn't update existing trees, only generates new ones so
you can't do what you ask, but there should be no need.

> Later on in the execution of the stylesheet something is encountered
> that c 

As XSLT has full access to the whole input document before processing
starts there is not really any "later on" you should be able to generate
the correct attribute without needing to update it. Of course you can
use variables and/or parameters to store intermediate results without
writing to the result tree (easier in xslt2)

David
(Not a member of the WG so I wouldn't normally reply except I'd written
half the above before noticing it wasnt on xsl-list)

Received on Thursday, 18 September 2003 17:12:36 UTC