Re: [xml] HTML fragments
- From: Daniel Veillard <veillard redhat com>
- To: Joachim Zobel <jz-2006 heute-morgen de>
- Cc: xml gnome org
- Subject: Re: [xml] HTML fragments
- Date: Fri, 29 Jan 2010 20:54:31 +0100
On Fri, Jan 29, 2010 at 05:44:46PM +0100, Joachim Zobel wrote:
Hi.
I am using libXML2 (Perl module) to parse HTML fragments, which it
kindly does. Unfortunally it adds enclosing <html> and <body> tags. This
is annoying for me since the fragment later is included in the middle of
another document. How can I turn this off?
See the other mails about this today, on a simple program you can
set htmlOmittedDefaultValue to 0, starting from next version the correct
way will be to add HTML_PARSE_NOIMPLIED to the html parser options.
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]