Hi Nick,

That worked.

Thanks so much.

Regards,

Paul

-----Original Message-----
From: Nick Wellnhofer <wellnho...@aevum.de> 
Sent: Monday, August 22, 2022 12:13 PM
To: Paul Kinnucan <pa...@mathworks.com>; The Gnome XSLT library mailing-list 
<xslt@gnome.org>
Subject: Re: [xslt] Use character entities to represent non-ASCII characters

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

_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
xslt@gnome.org
https://mail.gnome.org/mailman/listinfo/xslt

Reply via email to