[XML-SIG] Can anyone recommend a sensible XML parser for Python?
Uche Ogbuji
uche.ogbuji@fourthought.com
Tue, 10 Sep 2002 16:28:02 -0600
>
> Uche Ogbuji writes:
> > I take it Document.cloneNode(0) returns None because we don't want to clone
> > the documentElement?
>
> I really can't figure out whether it should include the doctype and
> document element or not. The right answer depends on whether the
> application is living in a DOM 1/2 world or a DOM 3 world, but... not
> necessarily just that.
>
> > Reinforces my whole sketchy feeling about this.
> >
> > But I have no more specific complaint about the table. I think the
> > "new document" row should be more detailed, especally since that's
> > where I think a lot of the surprising details lie. Basically what
> > I wrote above, it seems.
>
> What information do you think is missing from the "new document"
> slots?
The fact that the new document has all the same nodes as the original, but
with a modified ownerDocument value.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 -
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF -
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC