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


** Reply to message from Alia Mikati <Aliam@investcomholding.com> 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@TheOffice.net
MDDL Editor (Market Data Definition Language)
http://www.mddl.org/

 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]