# XSLT and Alternating Rows Saw this today (it is over a year old though) on [Roger Hartford's blog](https://blogs.dev.bayshoresolutions.com/roger/default.aspx); > #### [XSLT alternating rows](https://blogs.dev.bayshoresolutions.com/roger/archive/2006/07/31/4008.aspx) > > In an XSLT template tag you can simulate the same functionality as in GridView/DataGrid "AlternatingRowClass" property using this syntax: >
> > AnotherClass > >
> 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...