Saw this today (it is over a year old though) on Roger Hartford’s blog;

XSLT alternating rows #

In an XSLT template tag you can simulate the same functionality as in GridView/DataGrid “AlternatingRowClass” property using this syntax:

It's that simple! Roger

I’m a big fan of XSLT based processing… and it is great to see ways to get exactly the results you want without additional server or client side code…