[xslt] Set xmlDoc encoding type
- From: Alexwell Sandro <alexwellll gmail com>
- To: xslt gnome org
- Subject: [xslt] Set xmlDoc encoding type
- Date: Fri, 7 Jun 2013 16:42:04 -0300
Hi, how to set xmlDocPtr encoding type?
I tried this:
xmlDocPtr doc = xmlNewDoc(BAD_CAST "1.0");
doc->encoding = BAD_CAST "UTF-8";
When I call: "xmlFreeDoc(doc);" Error occurs.
Thanks,
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]