xsl-list
[Top] [All Lists]

[xsl] Error - Un declared entity reference

2008-07-14 20:37:13
Hi Friends,

I am using saxon9 for XSL(v2.0) Transform from One XML to another.

I am getting below error for entity problem.

Saxon Error :   "Error on line 61 column 53 of input.xml: SXXP0003: Error
reported by XML parser: The entity "kappa" was
                        referenced, but not declared.
                        Transformation failed: Run-time errors were
reported"

Line 61(XML):   contains, <title type="document">Implication of NF-
&kappa;B in             <i>Helicobacter pylori</i>-
associated gastritis</title>

XSLT            :       <xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

                        <xsl:output method="xml" indent="yes"
encoding="iso-8859-                     1"/>
        
                        <xsl:template match="/">
                                <xsl:apply-templates/>
                        </xsl:template>

Run command :

                R:\AJG>java -jar saxon\saxon9.jar -s:ajg20001-in.xml -
xsl:AJGTrans.xsl -o:ajg20001-out.xml

Earlier I used xalan for XML 2 HTML transform, but not faced this problem.

Please help.

Regards,
Ramkumar




--~------------------------------------------------------------------
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>
--~--