It looks as if you have set the output method to HTML, which you should not
do when generating XML.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Kai Hackemesser [mailto:kaha(_at_)gmx(_dot_)de]
Sent: 01 June 2007 09:06
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] entity referenced but not declared.
Hello there!
I have following case:
In an xsl file I define a xsl:param as
<xsl:param name="copyright">Copyright © 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"/> </fo:block>
the resulting output shows:
<fo:block text-align="center">Copyright © 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 © to
© and how do I avoid that?
Kind regards,
Kai
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--