This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: preceding sibling test


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]