This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: preceding sibling test
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: preceding sibling test
- From: "Sargeant, Richard (GEIS)" <Richard dot Sargeant at geis dot ge dot com>
- Date: Mon, 14 Feb 2000 12:57:10 +0100
- Reply-To: xsl-list at mulberrytech dot com
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