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

Update an existing element in a result tree?

From: Roger L. Costello <costello@mitre.org>
Date: Thu, 18 Sep 2003 16:42:18 -0400
Message-ID: <3F6A18AA.2E05C5C6@mitre.org>
To: "public-qt-comments@w3.org" <public-qt-comments@w3.org>, "Costello,Roger L." <costello@mitre.org>

Suppose that at some point in the execution of a stylesheet this element is added to the
result tree:

<Member count="1"/>

Later on in the execution of the stylesheet something is encountered that causes it to want to
update that Member element in the result tree so that count is incremented by 1, i.e., the
result tree should be updated so that the Member element now looks like this:

<Member count="2"/>

This may occur many times.  Each time the Member element in the result tree is updated.

Recap: As my stylesheet executes I want it to add things into a result tree, and then as it
executes further I want it to update things that were previously placed in the result tree.
By the time the processor has completed executing the stylesheet the result tree has undergone
all desired additions and updates, and is then serialized.

Would someone please explain how to do this?  /Roger
Received on Thursday, 18 September 2003 16:43:02 UTC

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