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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4540





------- 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