[xslt] Does xslt has any encoding settings?



Hello there,
I have successfully created the xml using libxml. My xml contains some
french characters. When I use libxslt to create the html, it converts é
into %c3%A0. I am wondering is there any way I should specify the
encodings in the api calls for libxslt.
I use, xmlParseFile();
xslParseStylesheetFile();
xsltApplyStyleSheet();

In generating the xml file however I use the functions to convert to UTF
and function convert to ISO while reading it. Should I do something like
that for xslt too?

Here is the xml and xsl snippets:
<? xml version="1.0" encoding="ISO-8859-1' ?>
<thumbimg>hànià.jpg</thumbimg>

xsl:
<img src="{thumbimg}"/>

Thank you for all your help,
Joseph




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]