Subject: RE: simple grouping question
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 19 Sep 2000 13:15:50 +0100
|
> I'm new to XSLT/XPath and have what I think is a simple
> question that I
> just can't figure out. I'm producing an HTML table and want
> to suppress the value in a particular column if the previous element in
> that column had the same value.
you want <xsl:if test="not(date = preceding-sibling::date[1])">
<xsl:value-of select="date"/>
</xsl:if>
Mike Kay
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|