[XSL-LIST Mailing List Archive Home]
RE: [xsl] RE:"*NEVER* use for-each"
Subject: RE: [xsl] RE:"*NEVER* use for-each"|
From: "Chris Bayes" <Chris@xxxxxxxxxxx>
Date: Tue, 27 Feb 2001 20:45:09 -0000
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.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list