This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Converting attributes to elements and preserving the hierarchy
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 19 Dec 2001 09:58:34 -0000
- Subject: RE: [xsl] Converting attributes to elements and preserving the hierarchy
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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