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: Newbie question on XSL and lists



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

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