RE: [xsl] RE:"*NEVER* use for-each"

Subject: RE: [xsl] RE:"*NEVER* use for-each"
From: "Tapan Nanawati" <tapan_nanawati@xxxxxxxxx>
Date: Thu, 1 Mar 2001 01:30:33 +0530
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.

Tapan Nanawati
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
$ XSL-List info and archive:

 XSL-List info and archive:

Current Thread