This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]