[xsl] entity referenced but not declared.

Subject: [xsl] entity referenced but not declared.
From: Kai Hackemesser <kaha@xxxxxx>
Date: Fri, 01 Jun 2007 10:05:53 +0200
Hello there!

I have following case:
In an xsl file I define a xsl:param as
<xsl:param name="copyright">Copyright &#169; 2002-2006 ...</xsl-param>

somewhere later in another xsl importing the first one I do

<fo:block text-align="center">
    <xsl:value-of select="$copyright"/>

the resulting output shows:

<fo:block text-align="center">Copyright &copy; 2002-2006 ...</fo:block>

and there is the problem for fop transformation:

SAXParseException: The entity "copy" was referenced, but not declared.

why does xslt (Xalan and Saxon tested) transform &#169; to &copy; and how do I avoid that?

Kind regards,

Current Thread