This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: simple grouping question


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]