I encountered the following error when XSL file has
<A HREF=""/website/url" /> ">. Any ideas??
<A HREF=""/website/url" /> ">. Any ideas??
D:\\URLParsingError>java org.apache.xalan.xslt.Process -in website.xml -
xsl website.xsl -out website.html
[Fatal Error] website.xsl:5:14: The value of attribute "HREF" associated with an
element type "A" must not contain the '<' character.
xsl website.xsl -out website.html
[Fatal Error] website.xsl:5:14: The value of attribute "HREF" associated with an
element type "A" must not contain the '<' character.
file:///D://URLParsingError/website.xsl; Line #5; Column #14; XSLT Error
(javax.xml.transform.TransformerConfigurationException): javax.xml.transform.Tr
ansformerException: org.xml.sax.SAXParseException: The value of attribute "HREF"
associated with an element type "A" must not contain the '<' character.
/*********************** website.xsl *******************************/
<html xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" xsl:version = "1.0">
<HEAD></HEAD>
<BODY>
(javax.xml.transform.TransformerConfigurationException): javax.xml.transform.Tr
ansformerException: org.xml.sax.SAXParseException: The value of attribute "HREF"
associated with an element type "A" must not contain the '<' character.
/*********************** website.xsl *******************************/
<html xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" xsl:version = "1.0">
<HEAD></HEAD>
<BODY>
<P><A HREF=""/website/url" /> ">Web Site URL</A></P>
<P>Web Site Name: <xsl:value-of select = "/website/name" /></P>
</BODY>
</html>
</BODY>
</html>
/*********************** website.xml *******************************/
<?xml version = "1.0"?>
<website>
<name>Yahoo</name>
<url>http://www.yahoo.com</url>
</website>
<?xml version = "1.0"?>
<website>
<name>Yahoo</name>
<url>http://www.yahoo.com</url>
</website>
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs