Subject: Re: another quest
From: "Anthony B. Coates" <abcoates@xxxxxxxxxxxxx>
Date: Thu, 29 Aug 2002 12:37:14 +0100
|
** Reply to message from Alia Mikati <Aliam@xxxxxxxxxxxxxxxxxxxx> on Thu, 29
Aug 2002 14:13:05 +0300
<xsl:value-of select =
"normalize-space(//td[preceding-sibling::td[normalize-space() = 'rony']])"/>
> Hi again,
> I have this xml file:
> <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???
Cheers,
Tony.
====
Anthony B. Coates, Data Architect
mailto:abcoates@xxxxxxxxxxxxx
MDDL Editor (Market Data Definition Language)
http://www.mddl.org/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|