# 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: >