This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE:"*NEVER* use for-each"
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE:"*NEVER* use for-each"
- From: "Tapan Nanawati" <tapan_nanawati at yahoo dot com>
- Date: Thu, 1 Mar 2001 01:30:33 +0530
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@yahoo.com
91-11-6685274 (o)
91-98112-98982 (m)
New Delhi - INDIA
------------------------------
God is real, unless declared integer.
$-----Original Message-----
$From: owner-xsl-list@lists.mulberrytech.com
$[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Chris Bayes
$Sent: Wednesday, February 28, 2001 2:15 AM
$To: xsl-list@lists.mulberrytech.com
$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