Xpath alternate row colors

This XPath expression will let you alternate row colors

Alternate Rows
<wr:if select="1+count(preceding-sibling::*)  mod 2 = 1">
	ROW A Color
<wr:else/>
	ROW B Color
</wr:if>

Example

I will provide complete example soon.

Leave a Comment

Your email address will not be published. Required fields are marked *