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]
Other format: [Raw text]

RE: Converting attributes to elements and preserving the hierarchy


> How do I decide  when to use <xsl:for-each> or a template ?

For beginners: always use template rules, until you understand them well
enough to know their strengths and weaknesses.

For advanced users: use xsl:for-each only when you are absolutely confident
that the structure of the source documents handled by your stylesheet is not
going to change.

Mike Kay


 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]