Subject: RE: [xsl] 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: [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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] RE:"*NEVER* use for-each", Michael Kay | Thread | RE: [xsl] RE:"*NEVER* use for-each", Chris Bayes |
RE: [xsl] apply-import and named te, Michael Kay | Date | [xsl] Transforming XML doc with nam, Mark Edwards |
Month |