This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
How do I detect every other node?
- To: "'XSL-List'" <xsl-list at mulberrytech dot com>
- Subject: How do I detect every other node?
- From: "Wakefield, Nicholas" <NWakefield at microstrategy dot com>
- Date: Fri, 24 Mar 2000 12:17:05 -0500
- Reply-To: xsl-list at mulberrytech dot com
Dear All
I am trying to apply a different template for every other row, without using
JavaScript.
Any one got any ideas.
TIA
<header>
<row >
<mv name='Simon'>
</row>
<row >
<mv name='Justin'>
</row>
<row >
<mv name='Paul'>
</row>
</header>
<xsl:for-each select="row">
<TR><xsl:apply-templates /></TR>
</xsl:for-each>
Nicholas Wakefield
This e-mail has been sent in confidence to the named addressee(s). If you
are not the intended recipient you must not disclose or distribute it in any
form, and you are asked to contact the sender immediately. The sender does
not accept any liability for loss or damage which may be caused by any
attached files.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list