This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: doubt regarding position() mod 2
- From: "cutlass" <cutlass at secure0 dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Tue, 23 Apr 2002 09:02:17 +0100
- Subject: Re: [xsl] doubt regarding position() mod 2
- References: <scc5575c.085@bombay.imrglobal.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
hello anand,
----- Original Message -----
From: "Anand Ganapathy" <Anand.Ganapathy@cgi.ca>
>
> I need to display each alternating <NODENAME>element under <NODE2> in a
different color.
> In my XSL, I tried using a test condition <xsl:if test="position() mod 2
= 1">,
try
<xsl:if test="position() mod 2">
chow, jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list