This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: another quest


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]