Hi everyone,
I've a problem applying xsl files to iso-8859-1 encoded xml files.
I'm using the xpath taglib.
Here my very simple jsp code:
<xtags:style xsl="xsl.xsl">
<?xml version="1.0" encoding="ISO-8859-1"?>
<testo>
<clobText>
<![CDATA[������]]>
</clobText>
</testo>
</xtags:style>
And here my xsl file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="iso-8859-1" method="html"
cdata-section-elements="clobText" omit-xml-declaration="yes" indent="yes"/>
<xsl:template match="testo">
<xsl:value-of select="clobText" disable-output-escaping="yes"/>
</xsl:template>
</xsl:stylesheet>
My CDATA results corrupted after parsing.
PLEASE HELP, Any suggestion is great.
Regards, Dariush.
____________________________________________
Dariush Behboudi Resp.Software Engineering
Phone: +39 02 45441.238Mobile Phone: 335 1207222Fax: +39 02
[EMAIL PROTECTED] Interactive Spa
GRUPPO DATASERVICE
Via Negroli, 35
20133 Milano (Italy)