[xml] Is this normal behavior when adding a namespace?
- From: Abraham Nelson <abe49_90210 yahoo com>
- To: xml gnome org
- Subject: [xml] Is this normal behavior when adding a namespace?
- Date: Fri, 13 May 2005 11:42:44 -0700 (PDT)
I've come accross something I'm not sure is normal or
not.
I parse 'real world' html into a tree (using
htmlParseFile() or htmlParseDoc() ), and since I need
to apply a stylesheet to it I add a namespace to it
(using the method I posted about here:
http://mail.gnome.org/archives/xml/2005-March/msg00172.html).
Later I output this tree with htmlDocDumpMemory(), but
I've noticed that elements such as 'br' and 'hr' get
output as '<br></br>' and '<hr></hr>'. This does not
happen if the namespace is not added.
Is this normal behavior, or am I not adding the
namespace right, causing the tree to be modified in a
way I don't anticipate?
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]