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 15:27:52 +0100
- Reply-To: xsl-list at mulberrytech dot com
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