import xmlapp
class DTDConsumer def __init__(self,parser) string __module__ = 'xmlapp' def attribute(self,elem,attr,a_type,a_def) def comment(self,contents) def element_type(self,elem_name,elem_cont) def external_entity(self,ent_name,sys_id,pub_id,ndata) def external_pe(self,name,sysid,pubid) def fatal(self,msg) def general_entity(self,name,val) def notation(self,name,sysid,pubid) def parameter_entity(self,name,val) def resolve_pe(self,name) def warning(self,msg)
Represents an XML DTD. This class can be subclassed by applications which want to handle the DTD information themselves.
Receives the declaration of a new attribute.
Receives comment contents.
Receives the declaration of an element type.
Receives external general entity declarations.
Receives external parameter entity declarations.
Handles a fatal error message.
Receives internal general entity declarations.
Receives notation declarations.
Receives internal parameter entity declarations.
Resolve the parameter reference name and return associated info.
Handles a non-fatal warning message.