RE: [xsl] another quest

Subject: RE: [xsl] another quest
From: Jarno.Elovirta@xxxxxxxxx
Date: Thu, 29 Aug 2002 14:31:21 +0300
Hi,

> <table>
> <tr>
> <td> tony </td>
> <td> 100 </td>
> </tr>
> <tr>
> <td> rony </td>
> <td> 99 </td>
> </tr>
> </table>
> 
> I want to to search for "rony" to get the value of the 
> following sibling 
> (which is in this case 99). How can I do it in xsl???

<xsl:value-of select="table/tr[td[1] = 'rony']/td" />

To be perfectly blunt, have you even thought about reading the XSLT and XPath specs?

Jarno

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


Current Thread