Subject: RE: RE:"*NEVER* use for-each"
From: David Schach <davidsch@xxxxxxxxxxxxx>
Date: Tue, 27 Feb 2001 15:06:48 -0800
|
for-each is part of the xslt specification. It does not break anything
about the programming model because it is, by definition, part of the xslt
programming model. It is no more or less natural than apply-templates. Each
provides useful functionality. In msxml3, for-each is slight more effecient
than using apply-templates because apply-templates adds the additional cost
of xpath matching.
-----Original Message-----
From: Ben Robb [mailto:b.robb@xxxxxxxxxx]
Sent: Tuesday, February 27, 2001 9:37 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: RE:"*NEVER* use for-each"
Basically, for-each breaks the natural programming model of templates,
which, while slightly odd to most programmers coming in from
html/asp/javascript, makes sense when you actually understand what is
going on in the background of the process.
...
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|
Michael Kay - Tue, 27 Feb 2001 22:56:47 -0500 (EST)
David Schach - Tue, 27 Feb 2001 18:22:10 -0500 (EST) <=
David Schach - Tue, 27 Feb 2001 19:48:22 -0500 (EST)
FINLEY, Mike - Wed, 28 Feb 2001 04:16:06 -0500 (EST)
|
|