This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: simple grouping question
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: simple grouping question
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Tue, 19 Sep 2000 13:15:50 +0100
- Reply-To: xsl-list at mulberrytech dot com
> 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