RE: [xsl] RE:"*NEVER* use for-each"

Subject: RE: [xsl] RE:"*NEVER* use for-each"
From: "Beckers, Marc" <Marc.Beckers@xxxxxxxxxxxxxx>
Date: Tue, 27 Feb 2001 18:42:59 +0100

> When should we/should we not use for-each?
> 

I can see one should avoid
"for-eaching" down from the root, as in:

<xsl:for-each select="//para">
  <p><xsl:apply-templates/></p>
</xsl:for-each>

But apart from that, I think for-each is a fine
construct and the warning to "beginners"
puzzled me somewhat. What am I missing?

Dr. Marc Beckers
Documentation Consultant
Software AG
Uhlandstraße 12
D-64297 Darmstadt
Phone +49-6151-92-1322
Fax              -1612
mailto:Marc.Beckers@xxxxxxxxxxxxxx
http://www.softwareag.com 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread