Re: matching nodes by their value

Subject: Re: matching nodes by their value
From: "Jonas" <bob@xxxxxxxxxx>
Date: Fri, 18 Aug 2000 12:44:53 +0200
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


Current Thread