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]

How do I detect every other node?


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

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