Subject: RE: [xsl] RE:"*NEVER* use for-each" From: "Tapan Nanawati" <tapan_nanawati@xxxxxxxxx> Date: Thu, 1 Mar 2001 01:30:33 +0530 |
Chris you are very right in saying this : When a new comer sees "for-each" he is familiar with the procedural languages and starts using this only. And as far as possible avoids templates : very true and is the case with us as a beginner - very well said. cheers Tapan Nanawati tapan_nanawati@xxxxxxxxx 91-11-6685274 (o) 91-98112-98982 (m) New Delhi - INDIA ------------------------------ God is real, unless declared integer. $-----Original Message----- $From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx $[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Chris Bayes $Sent: Wednesday, February 28, 2001 2:15 AM $To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx $Subject: RE: [xsl] RE:"*NEVER* use for-each" $ $ $Sorry if I was a bit short but he did prove me right. His next question was $"[xsl] how do you redefine a variable". $I am not saying never use <xsl:for-each> in xslt just that it is a $"beginners rule". IMHO people learn xslt faster the sooner they $get the idea $of templates and stop thinking in a procedural way. $Maybe <xsl:for-each> is faster to start with but there is a lot of $<xsl:for-each> spaghetti out there bloated by loads of code to get round $problems that just naturally fall out of using templates. $ $Ciao Chris $ $XML/XSL Portal $http://www.bayes.co.uk/xml $ $ $ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] RE:"*NEVER* use for-each", Evan Lenz | Thread | RE: [xsl] RE:"*NEVER* use for-each", Michael Kay |
Re: [xsl] select lang attribute pro, Jeni Tennison | Date | Re: [xsl] Parsing a character strin, Walter Torres |
Month |