[XML-SIG] Minidom proposal

Ken MacLeod ken@bitsko.slc.ut.us
18 Feb 2000 14:12:24 -0600


Paul Prescod <paul@prescod.net> writes:

> I propose the following interface for a module that would go
> into Python 1.6 (excuse my IDLish shorthand)

All looks good to me.

> class Element(Node):
> 	string tagname
> 	# check what the DOM does with namespaces
> 	{Dictionary of Name->Value} attributes

To clarify, this dictionary follows the earlier proposal that
attributes are keyed by (namespaceURI, localName) tuples, correct?

  -- Ken

P.S. I wish Perl could do that gracefully.  :-/