import xmlapp
class EntityHandler def __init__(self,err) string __module__ = 'xmlapp' def resolve_ent_ref(self,entname) def set_error_handler(self,err)
Resolves an entity reference and returns its contents. The default method only resolves the predefined entities. Returns a 2-tuple (n,m) where n is true if the entity is internal. For internal entities m is the value, for external ones it is the system id.
Set the object to send error events to.