[XML-SIG] Consensus: Python mapping for DOM attributes?

Jim Fulton jim@digicool.com
Tue, 27 Jun 2000 18:13:15 -0400


OK, I'm told that there was a decision made last November that attributes
defined by DOM are mapped to both Python attributes and accessor functions.

This means that DOM clients can use either "direct attribute access":

  node.parent

or an accessor method:

  node._get_parent()

An implementor of the Python DOM API must support both
methods of access.

I don't personally like this API very much, but I guess it's
to late to change it.

Jim

--
Jim Fulton           mailto:jim@digicool.com   Python Powered!        
Technical Director   (888) 344-4332            http://www.python.org  
Digital Creations    http://www.digicool.com   http://www.zope.org    

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.