xsl-list
[Top] [All Lists]

Re: another quest

2002-08-29 05:02:59
thx a lot..it worked!!

-----Original Message-----
From: "Anthony B. Coates" <abcoates(_at_)TheOffice(_dot_)net>
To: xsl-list <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Date: Thu, 29 Aug 2002 12:37:14 +0100
Subject: Re: [xsl] another quest

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

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



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