tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dariush Behboudi" <dariush.behbo...@glamm.com>
Subject Xtag taglib and iso-8859-1 *** HELP ***
Date Mon, 10 Feb 2003 22:07:48 GMT
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
45441.300dariush.behboudi@glamm.comwww.glamm.comGlamm Interactive Spa
      GRUPPO DATASERVICE
      Via Negroli, 35
      20133 Milano (Italy)






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message