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: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Tue, 27 Feb 2001 20:45:09 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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