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: doubt regarding position() mod 2


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


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