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 |
- another quest
- Alia Mikati - Thu, 29 Aug 2002 07:17:19 -0400 (EDT)
- <Possible follow-ups>
- Jarno . Elovirta - Thu, 29 Aug 2002 07:30:06 -0400 (EDT) <=
|
|