[jdom-interest] Off Topic - XSL (Xalan) question
Van Dooren, Damian
VanDoorenD at icfg.com
Mon Sep 18 08:43:32 PDT 2000
I know this question is not directly related to JDom and for that I
apologize, but I know someone here will have the answer I need.
I'm using JDom to create XML that I then process with XSL via Xalan. My XSL
is very simple I'm not even adding any of the XML data to it yet. I have an
<a> tag that the Xalan is dying on. This is the error I get:
org.apache.xalan.xslt.XSLProcessorException: The reference to entity
"subaction" must end with the ';' delimiter.
This is the line it is dying on:
<a
href='http://localhost/login/ActionServer?action=loadpage&subaction=html&fil
eName=client-inquiry.html'>Client Inquiry</a>
I've included the XSL and have commented out the offending line. If someone
could point out what I've done wrong I would greatly appreciated it.
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
>
<xsl:template match="/">
<html>
<head><title>Main Menu</title></head>
<body bgcolor="#FFFFFF">
<h2>Main Menu</h2>
<p>
<!-- Why doesn't it like this line?
<a
href='http://localhost/login/ActionServer?action=loadpage&subaction=html&fil
eName=client-inquiry.html'>Client Inquiry</a>
-->
</p>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
-----
Damian Van Dooren
Information Technology
The Investment Centre
(519) 672-4389 x718
More information about the jdom-interest
mailing list