[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: compare two values
thanks mike but i have another structure and have to keep it. is there another solution which corresponds to the following xsl? <xsl:template match="row" > <tr> <xsl:if test=" ?????"> ^^^^^^ <th class="result"> <xsl:value-of select="Art_nr"/> </th> </xsl:if> </tr> </xsl:template> jan -----Original Message----- From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Michael Kay Sent: Dienstag, 7. August 2001 14:49 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: compare two values > 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|