This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: RE:"*NEVER* use for-each"


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@cscape.com]
Sent: Tuesday, February 27, 2001 9:37 AM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]