[XML-SIG] copy node to new dom
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 25 Oct 2001 14:50:14 -0400
Mike Hostetler writes:
> 'minidom' is only DOM Level 1 compatible with some Level 2 in it (for
> some namespace stuff, according to the python documentation). 'importNode'
> is part of the Level 2 spec. I'm not sure that 'importNode' belongs to
> 'minidom'. But, hey, if you guys want to put it in . . . . =)
I'd call minidom being "kind of" Level 2 (the namespace stuff) a bug
in itself; it makes more sense to make it a Level 2 DOM.
> URLs for reference:
> =======================
> Explanation of minidom and the DOM standard:
> http://www.python.org/doc/current/lib/minidom-and-dom.html
>
> DOM Level 1 spec:
> http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html
>
> DOM Level 2 spec:
> http://www.w3.org/TR/DOM-Level-2-Core/core.html
Yeah, I've written a DOM before; I've seen those. ;-)
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation