Subject: Re: matching nodes by their value From: "Robert Stupak" <robert@xxxxxxxxxxx> Date: Thu, 17 Aug 2000 10:29:19 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: matching nodes by their value, Jonas | Thread | Re: matching nodes by their value, robin |
Re: Passing Variable into an extern, Warren Hedley | Date | Re: Check if XML tag exists?, Oliver Becker |
Month |