wrap in
<xsl:if test="not(preceding-sibling::Row/Cell[6]/Data =
Cell[6]/Data"> ...
</xsl:if>
Or perhaps
<xsl:if test="not(preceding-sibling::Row[1]/Cell[6]/Data = Cell[6]/Data">
...
</xsl:if>
if you only want to compare with the immediately preceding row.
Regards,
Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--