Xpath alternate row colors

Posted on Leave a commentPosted in Uncategorized

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>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.