Click to See Complete Forum and Search --> : Alternate colouring


~J~
01-17-2005, 08:51 AM
Afternoon everyone (or morning, evening, etc... :D)

I have a table that is dynamically created based on an XSL Transformation. The table can return anything from 2 to 200 rows.

What I'd like to do is change the colour of each row, say the first white, the second blue, the third white, forth blue, etc, etc.

Is there any way to do this is XSL?

TIA

Khalid Ali
01-18-2005, 12:03 AM
xslt is stateless, you will need to use some advance tachniques for such calculations(or I might be thinking of a wrong solution)
For such questions lookup mullberry in google and you will find an answer