This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Newbie question on XSL and lists
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: Newbie question on XSL and lists
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Fri, 8 Sep 2000 11:52:27 +0100
- Reply-To: xsl-list at mulberrytech dot com
>> Beginner rule #1 *NEVER* use xsl:for-each
>
>why not ?
Because when people look at xsl for the first time they see xsl:for-each and
think aaahh that's what i need it looks familiar. It usualy isn't what they
want at all. They then start adding enormous <xsl:choose statements all over
the place to get round having an <xsl:for-each. Then they put more
<xsl:for-each in <xsl:for-each with long xpaths. It gets really ugly. So I
just say Beginner rule #1 *NEVER* use xsl:for-each
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list