[xml] problems saving HTML as XHTML
- From: Aaron Patterson <aaron patterson gmail com>
- To: xml gnome org
- Subject: [xml] problems saving HTML as XHTML
- Date: Sun, 14 Feb 2010 17:12:07 -0800
Hi! I have an HTML document that contains some CDATA nodes. When I
output the document using the save API, and force the document to
either XML or XHTML, the resulting output CDATA nodes look very
broken.
I've put together a short C program to reproduce the problem:
http://gist.github.com/304365
libxml2 seems to output three CDATA nodes where there was only one.
Any help would be much appreciated!
--
Aaron Patterson
http://tenderlovemaking.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]