Re: Use character entities to represent non-ASCII characters

Nick Wellnhofer via xslt <[email protected]> Mon, 22 Aug 2022 18:13:10 +0200
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
On 22/08/2022 17:59, Paul Kinnucan wrote:
> Is there a was with libxslt to override the output encoding specified by the 
> stylesheet?

It should work to poke into the xsltStylesheet struct after parsing:

     xmlFree(style->encoding);
     style->encoding = xmlStrdup((xmlChar *) "HTML");

Nic