xsl-list
[Top] [All Lists]

RE: another quest

2002-08-29 04:31:21
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



<Prev in Thread] Current Thread [Next in Thread>