This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
AW: matching nodes by their value
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: AW: matching nodes by their value
- From: "Weiler, Frank" <FWeiler at KBV dot DE>
- Date: Thu, 17 Aug 2000 12:26:58 +0100
- Reply-To: xsl-list at mulberrytech dot com
Hello !
IMHO this counldn't work because the value of the <a> node is empty.
AAA and BBB are values of <font> tags.
CU
--
Frank Weiler, Softwarentwickler
Kassenärztliche Bundesvereinigung Berlin
IT-Bereich / Konstruktion
Tel: 030-4005-1931
Fax: 0221-4005-7786
> -----Ursprüngliche Nachricht-----
> Von: Robert Stupak [mailto:robert@stinklas.lt]
> Gesendet: Donnerstag, 17. August 2000 09:29
> An: xsl-list@mulberrytech.com
> Betreff: Re: matching nodes by their value
>
>
> Hello,
>
> > <tr>
> > <td><a href="http://">..</a></td>
> > <td><a href="http://">AAA</a></td>
> > </tr><tr>
>
> I found out where the problem was.
> Actually the second <td>'s <a> node contained child <font>:
>
> <td><a href="http://"><font>AAA</font></a></td>
>
> so when I selected tr/td/a/font(starts-with(.,'A')],
> it did almost what I wanted it to do.
>
> But this leads to a following question:
> value of a node is "concatenation of all parsed character data between
> element's start tag and end tag" (from XML Bible Chapter 14).
> So according to this, the value of such <a> node:
> <a "href=//"><font><font>AAA</font>BBB</font></a>
> should be 'AAABBB' (or 'AAA BBB' ?) and it starts with 'A',
> but starts-with(a,'A') doesn't match such node.
> Does anybody know why?
>
> Jonas.
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
Diese EMail wurde mit InterScan VirusWall ueberprueft und als sicher erachtet.
This EMail has been scanned with InterScan VirusWall and seems to be safe.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list