RE: preceding sibling test

Subject: RE: preceding sibling test
From: "Sargeant, Richard (GEIS)" <Richard.Sargeant@xxxxxxxxxxx>
Date: Mon, 14 Feb 2000 12:57:10 +0100
Hi Michael, 

>   I suspect what you meant to write was something like
>
> 	<xsl:template match="PB_ITEM">
> 	   <xsl:apply-templates
select="USER[not(.=previous::sibling::USER[1])]"/>

   I tried your suggestion but it doesn't work! I'm using Oracle's parser
and it aborts with "Axis 'previous' not found". I have also checked the
XPATH specs (16 Nov 1999) and there is no mention of previous::sibling. Am I
looking at the wrong specs ?

   For your information, all I'm doing is processing the results of a
database query and each time the 'USER" changes I need to print some header
information.

regards
Richard Sargeant


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


Current Thread