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: RE:"*NEVER* use for-each"




> 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


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