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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: matching nodes by their value, robin | Thread | RE: Problem with new version of MSX, Iyer, Srinivasan (ML |
Look Ahead in XSL, ciaran byrne | Date | RE: Hiding the XSL ?, Chris Bayes |
Month |