xsl-list
[Top] [All Lists]

problem with caracteres speciaux

2003-05-22 11:02:20
i use in my FS:

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:output method="text" version="1.0" encoding="ISO-8859-1"
indent="yes" />
----------
---------
<xsl:value-of select="./para"/>
--------

and in my xml file un have:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE dicodoc PUBLIC "-//ALCATEL//DICODOC 2.0//EN"
 "dicodoc.dtd">
--------
<para>...G&eacute;n&eacute;ralit&eacute;s</para>
------

and in the output file  i have:
...G n ralit s

so the character &eacute; isn't translated.
so which encoding i should have for output,stylsheet,or what the problem







-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge

<Prev in Thread] Current Thread [Next in Thread>
  • problem with caracteres speciaux, abbouh <=