[XML-SIG] Minidom proposal
Sat, 19 Feb 2000 08:12:21 -0800
Greg Stein wrote:
> Attribute is a subclass of Node, which has a parent. Why not use the
> parent for the owner?
This is a common debate in the XML world. Attributes are not considered
"children" of elements so it is somewhat weird to call the owner
"parent". You're my parent but I'm not your child. Given that the
argument could go either way we might as well do it the way that PyDOM
and 4DOM currently do (AFAIK).
> GetElementsByTagName* should have a matching capitaliztion.
Cut and paste error. For Python, DOMString is just PyString --
especially since we will soon have Unicode.
> NodeList -> List[Node]
> Isn't this a duplicate of tagname? Why have both?
tagname = html:a or a
localname = a (always)
Paul Prescod - ISOGEN Consulting Engineer speaking for himself
"The calculus and the rich body of mathematical analysis to which it
gave rise made modern science possible, but it was the algorithm that
made possible the modern world."
- from "Advent of the Algorithm" David Berlinski