W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2003

Re: Update an existing element in a result tree?

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 18 Sep 2003 22:12:14 +0100
Message-Id: <200309182112.WAA13274@e3000>
To: costello@mitre.org
Cc: public-qt-comments@w3.org


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:56:49 UTC