[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: preceding sibling test


Subject: RE: preceding sibling test
From: "Sargeant, Richard (GEIS)" <Richard.Sargeant@xxxxxxxxxxx>
Date: Mon, 14 Feb 2000 15:27:52 +0100

Hi,

   Yes, preceding-sibling does work now. I changed my original xsl:if test
to the following and it now works perfectly. However, I could not get it to
work directly within the 'select' ?

<xsl:template match="PB_ITEM">
	<xsl:if test =
"not(./USER=preceding-sibling::PB_ITEM[position()=1]/USER)">
		<xsl:apply-templates select="USER"/>
	</xsl:if>

regards
Richard Sargeant


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



Current Thread