[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: matching nodes by their value
Subject: RE: matching nodes by their value From: "Harbarth, Juliane" <Juliane.Harbarth@xxxxxxxxxxxxxx> Date: Wed, 16 Aug 2000 13:55:21 +0200 |
> I need to select all <tr> nodes which second <td> node's <a> value > starts with some string, which is passed to stylesheet as parameter. > .... > <xsl:for-each select="tr/td/a[starts-with(tr/td/a,$string)]"> > ... > its not selecting the needed nodes, The fact that you wanted to look at the second td in each tr does not reflect in your select value, try tr/td[2]/a[starts-with(tr/td/a,$string)]. Otherwise, I can't see anything wrong. Juliane. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: matching nodes by their value, Ben Robb | Thread | Re: matching nodes by their value, Jonas |
RE: matching nodes by their value, Ben Robb | Date | RE: How to make the user selecting , Stéphane Mamdy |
Month |