class documentation

class ElementTreeContentHandler(ContentHandler):

View In Hierarchy

Build an lxml ElementTree from SAX events.
Method __init__ Undocumented
Method characters Undocumented
Method end​Document Undocumented
Method end​Element Undocumented
Method end​Element​NS Undocumented
Method end​Prefix​Mapping Undocumented
Method processing​Instruction Undocumented
Method set​Document​Locator Undocumented
Method start​Document Undocumented
Method start​Element Undocumented
Method start​Element​NS Undocumented
Method start​Prefix​Mapping Undocumented
Class Variable etree Undocumented
Method _build​Tag Undocumented
Method ​_get​_etree Contains the generated ElementTree after parsing is finished.
Instance Variable ​_default​_ns Undocumented
Instance Variable ​_element​_stack Undocumented
Instance Variable ​_makeelement Undocumented
Instance Variable ​_new​_mappings Undocumented
Instance Variable ​_ns​_mapping Undocumented
Instance Variable ​_root Undocumented
Instance Variable ​_root​_siblings Undocumented
def __init__(self, makeelement=None):

Undocumented

def characters(self, data):

Undocumented

def endDocument(self):

Undocumented

def endElement(self, name):

Undocumented

def endElementNS(self, ns_name, qname):

Undocumented

def endPrefixMapping(self, prefix):

Undocumented

def processingInstruction(self, target, data):

Undocumented

def setDocumentLocator(self, locator):

Undocumented

def startDocument(self):

Undocumented

def startElement(self, name, attributes=None):

Undocumented

def startElementNS(self, ns_name, qname, attributes=None):

Undocumented

def startPrefixMapping(self, prefix, uri):

Undocumented

etree =

Undocumented

def _buildTag(self, ns_name_tuple):

Undocumented

def _get_etree(self):
Contains the generated ElementTree after parsing is finished.
_default_ns =

Undocumented

_element_stack: list =

Undocumented

_makeelement =

Undocumented

_new_mappings: dict =

Undocumented

_ns_mapping: dict =

Undocumented

_root =

Undocumented

_root_siblings: list =

Undocumented