W3C home > Mailing lists > Public > public-qt-comments@w3.org > May 2007

[Bug 4540] [UPD] Section 2.4.5 Transform: simplifying syntax

From: <bugzilla@wiggum.w3.org>
Date: Mon, 14 May 2007 04:29:59 +0000
To: public-qt-comments@w3.org
Message-Id: <E1HnSC7-0001ur-JA@wiggum.w3.org>


------- Comment #1 from chamberl@almaden.ibm.com  2007-05-14 04:29 -------
The keyword "copy" was introduced for a reason. The ":=" operator normally does
not make a copy. Instead, if there are nodes on the RHS, the variable on the
LHS is bound to references to these nodes. The variable can then be used, for
example, to navigate to the parents of these nodes. In contrast, the COPY
clause of a transform also uses the ":=" operator but it makes an actual copy
of the nodes on the RHS. The keyword is helpful to emphasize this distinction.
--Don C.
Received on Monday, 14 May 2007 04:30:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:18 UTC