Re: [xml] Possible loss of TEXT node with htmlParseDoc
- From: Frédéric Gicquel <frederic gicquel easybusiness fr>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] Possible loss of TEXT node with htmlParseDoc
- Date: Wed, 25 Apr 2001 12:01:47 +0200
Thanks for your help, but how to avoid this annoying <p> element ? and
why does it appear here ?
Well I can't reproduce this with the current version:
orchis:~/XML -> cat tst.html
Hello <a href=\"world\">world</a> !
orchis:~/XML -> ./testHTML --debug tst.html
HTML DOCUMENT
URL=tst.html
standalone=true
DTD(HTML), PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN, SYSTEM http://www.w3.org/TR/REC-html40/loose.dtd
ELEMENT html
ELEMENT body
ELEMENT p <--- ????
TEXT
content=Hello
ELEMENT a
ATTRIBUTE href
TEXT
content=\"world\"
TEXT
content=world
TEXT
content= !
orchis:~/XML ->
Daniel
--
Daniel Veillard | Red Hat Network http://redhat.com/products/network/
veillard redhat com | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
--
---------------------------------------
Frédéric Gicquel
rnr easybusiness fr
---------------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]