The SAX startElements take an AttributeList as the second argument.
Martel's attributes can be empty, so make a simple class which
doesn't do anything and which I can guarantee won't be modified.
Methods
|
|
|
|
__getitem__
|
__getitem__ ( self, key )
|
|
__len__
|
__len__ ( self )
|
|
__repr__
|
__repr__ ( self )
|
|
__str__
|
__str__ ( self )
|
|
get
|
get (
self,
key,
alternative,
)
|
|
getLength
|
getLength ( self )
|
|
getName
|
getName ( self, i )
|
|
getType
|
getType ( self, i )
|
|
getValue
|
getValue ( self, i )
|
|
has_key
|
has_key ( self, key )
|
|
items
|
items ( self )
|
|
keys
|
keys ( self )
|
|
values
|
values ( self )
|
|