RE: [xsl] compare two values

Subject: RE: [xsl] compare two values
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 7 Aug 2001 13:49:12 +0100
> i want to compare the value of <Art_nr> in one row with this,
> which is in
> the row before. if they are similar, i want to show something, if not
> nothing should happen.

<xsl:if test=". =
parent::row/preceding-sibling::row[1]/Art_nr">something</xsl:if>

with Art_nr as the context node.

Mike Kay
Software AG


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


Current Thread