xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Louden <ap...@yahoo.com>
Subject Re: Parsing error with URL <A HREF="<xsl:value-of select = "/website/url" /> ">
Date Tue, 11 May 2004 04:09:02 GMT
Thanks Joseph!
I tried the following but still have error: any ideas??
<P><A><xsl:attribute name="HREF" select="/website/url">Web Site URL</A></P>

file:///D:/URLParsingError/website.xsl; Line #5; Column #57; XSLT Error
 (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.Tr
ansformerException: javax.xml.transform.TransformerException: "select" attribute
 is not allowed on the xsl:attribute element!

Joseph Kesselman <keshlam@us.ibm.com> wrote:

The error is correct; you can't invoke an XSL operation inside a literal
quoted string.

There are several ways to do what you want; the simplest might be to
rewrite that line as

Joe Kesselman, IBM Next-Generation Web Technologies: XML, XSL and more.
"The world changed profoundly and unpredictably the day Tim Berners Lee
got bitten by a radioactive spider." -- Rafe Culpin, in r.m.filk

Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 
View raw message