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]

Re: matching nodes by their value


Hello,

> What XSLT processor are you using? Perhaps it has a bug.
> The following documents produce "true" using XT.

I am using Xalan. 

> <td><a href="//"><font><font>AAA</font>BBB</font></a></td>
> 
>       <xsl:template match="/*">
>       <xsl:value-of select="starts-with(a,'A')"/>
>     </xsl:template>
 
I guess I found were the problem was.
When I looked at source xml more precisely
noticed that it actually looks like this:
<TD><A href="//"><font><font>AAA</font>BBB</font></A></TD>
and when wrote starts-with(A,'A') - it returned 'true'.

Jonas. 



 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]