This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE:"*NEVER* use for-each"
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE:"*NEVER* use for-each"
- From: "Beckers, Marc" <Marc dot Beckers at softwareag dot com>
- Date: Tue, 27 Feb 2001 18:42:59 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> 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@softwareag.com
http://www.softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list