xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frédéric Laurent ...@opikanoba.org>
Subject Re: Parsing error with URL <A HREF="<xsl:value-of select = "/website/url" /> ">
Date Mon, 10 May 2004 16:02:47 GMT
Matt Louden wrote:

> I encountered the following error when XSL file has
> <A HREF=" <xsl:value-of select = "/website/url" /> ">.
 >  Any ideas??

sure, you can not have a " character in a string href=""
(as in any language)
use the Attribute Value Template [1] instead
  <a href="{/website/url}">


[1] http://www.w3.org/TR/xslt.html#attribute-value-templates

HTH

Frédéric Laurent

-- 
XPath free testing software : http://www.opikanoba.org/lantern/
Frédéric Laurent                       http://www.opikanoba.org


Mime
View raw message