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
|