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