Hi,

 I am using libxml2 and the xmlTextReader to parse the xml content below.

Libxml somehow interprets the content contained in the xml node and uses that 
information to encode the parsed content resulting in the insertion of the  
character. Is there a way to stop the libxml2 from interpreting this i.e. 
charset=iso-8859-15?

XML to process :
==============
<SPAN style="FONT-STYLE: normal; FONT-FAMILY: Segoe UI; COLOR: #1a1a1a; 
FONT-SIZE: 10pt; FONT-WEIGHT: normal; TEXT-DECORATION: none">&nbsp;meta 
http-equiv="content-type" content="text/html; charset=iso-8859-15" /</SPAN>

Processed XML
=============
<span>Â meta http-equiv=&quot;content-type&quot; content=&quot;text/html; 
charset=iso-8859-15&quot; /</span>


Regards
Shane
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to