[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [solved] entity referenced but not declared.

Subject: Re: [solved] entity referenced but not declared.
From: Kai Hackemesser <kaha@xxxxxx>
Date: Fri, 01 Jun 2007 10:12:14 +0200
Re:  [solved] entity referenced but not declared.
My fault. found xsl:output method = html :-(

Kai Hackemesser schrieb:
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"/>
</fo:block>

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,
Kai

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.