[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|