href parameters in xsl; trouble with &

Subject: href parameters in xsl; trouble with &
From: Darryl.McCool@xxxxxxxxx
Date: Thu, 22 Jun 2000 12:07:35 -0400
I want to output file index HTML page from my XML file using an XSL style
sheet, part of which is shown below.
When a FILENAME is found, I want to create a link from that file to a
servlet, contentHTMLGenerator
and pass the following parameters:
xmlfile=hooligan.xml (this will have to be changed to <xsl:value-of select

<xsl:template match="FILENAME">
        <xsl:attribute name="HREF">
        <xsl:value-of select="."/>

My servlet generates contentEditor.html from contenthtml.xsl and
hooligan.xml and automatically redirects the user
to contentEditor.html

The problem is that in generating the file index, the & (I think) is
causing the following error:
org.apache.xalan.xslt.XSLProcessorException: The reference to entity
"style" must end with the ';' delimiter.

How can I set up a hyperlink like this where the stylesheet treats the
amphersands like amphersands and not entity references?

 XSL-List info and archive:

Current Thread