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

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

From: <bugzilla@wiggum.w3.org>
Date: Tue, 12 Jun 2007 16:15:11 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1Hy91T-0000Tl-Et@wiggum.w3.org>

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





------- Comment #2 from jonathan.robie@redhat.com  2007-06-12 16:15 -------
What about something like this?

      copy $je := $e
      transform do delete $je/salary
      return $je

That maintains the semantics of "copy", and puts the transformation keyword
where the transforms occur.
Received on Tuesday, 12 June 2007 16:15:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:33 UTC