Re: [xml] XHTML 1.0 to HTML 4.01
- From: Stefan Behnel <stefan_ml behnel de>
- To: Florent Guiliani <flgu 4js com>
- Cc: xml gnome org
- Subject: Re: [xml] XHTML 1.0 to HTML 4.01
- Date: Thu, 24 Jan 2008 17:18:49 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]