[xml] problems saving HTML as XHTML

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

I've put together a short C program to reproduce the problem:


libxml2 seems to output three CDATA nodes where there was only one.
Any help would be much appreciated!

Aaron Patterson

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]