creamcitian
MIS
I am currently doing an xsl:for-each statement to read part of an xml file that's being output into html and would like to alternate the background color for alternate table rows of data to make things easier to read on the user end.
As the number of rows of data varies, how would I go about doing this? I am looking into doing something with the count function now, but can't find info how to alternate the color based on odd or even numbers.
Any ideas?
Thank you in advance for any help.
As the number of rows of data varies, how would I go about doing this? I am looking into doing something with the count function now, but can't find info how to alternate the color based on odd or even numbers.
Any ideas?
Thank you in advance for any help.