RE: simple grouping question

Subject: RE: simple grouping question
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 19 Sep 2000 13:18:47 +0100
> From: Ben Robb [mailto:Ben@xxxxxxxxxx]
> 	<xsl:if test="date != preceding-sibling::event/date or 
> position() = 1">
> 

No. This tests if there is a preceding date that is different from the
current date; you want to test whether the immediately preceding date is the
same as the current one. Generally speaking, when dealing with node-sets,
avoid "a!=b", what you usually want is "not(a=b)"

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread