Florent Guiliani wrote:
> I wonder if there a way, within libxml2, to convert an XML document 
> (xmlDocPtr) 
> that contains valid XHTML 1.0 into HTML 4.01 ? A way with only libxml2 
> function 
> calls would be perfect.

If you parse it in, you can use the HTML parser, which should also handle
XHTML without problems. But as Daniel suggested, you might want to add a
doctype declaration.

Stefan
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to