[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: RE:"*NEVER* use for-each"
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: RE:"*NEVER* use for-each" $ $ $Sorry if I was a bit short but he did prove me right. His next question was $" 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|