class documentation

class XElement(xml.etree.ElementTree.Element): (source)

Constructor: XElement(tag, attrib, **extra)

View In Hierarchy

Undocumented

Method __bool__ Undocumented
Method __init__ Undocumented
Method __iter__ Undocumented
Method add Undocumented
Method attr Undocumented
Method children Undocumented
Method find Undocumented
Method findall Undocumented
Method findfirst Undocumented
Method findtext Undocumented
Method get Undocumented
Method iter Undocumented
Method iterfind Undocumented
Method textdict Undocumented
Method textlist Undocumented
Method textof Undocumented
Method to_dict Undocumented
Method to_string Undocumented
Instance Variable caseInsensitive Undocumented
Instance Variable lname Undocumented
Instance Variable name Undocumented
Instance Variable tail Undocumented
Instance Variable text Undocumented
Method _collect_text Undocumented
Method _convert_key Undocumented
Method _convert_path Undocumented
def __bool__(self): (source)

Undocumented

def __init__(self, tag, attrib=None, **extra): (source)

Undocumented

def __iter__(self) -> t.Iterator[XElement]: (source)

Undocumented

def add(self, tag, attrib=None, **extra): (source)

Undocumented

def attr(self, key, default=None): (source)

Undocumented

def children(self): (source)

Undocumented

def find(self, path, namespaces=None): (source)

Undocumented

def findall(self, path, namespaces=None): (source)

Undocumented

def findfirst(self, *paths): (source)

Undocumented

def findtext(self, path, default=None, namespaces=None): (source)

Undocumented

def get(self, key, default=None): (source)

Undocumented

def iter(self, tag=None): (source)

Undocumented

def iterfind(self, path, namespaces=None): (source)

Undocumented

def textdict(self, *paths, deep=False): (source)

Undocumented

def textlist(self, *paths, deep=False): (source)

Undocumented

def textof(self, *paths): (source)

Undocumented

def to_dict(self): (source)

Undocumented

def to_string(self, compact_whitespace=False, remove_namespaces=False, with_namespace_declarations=False, with_schema_locations=False, with_xml_declaration=False): (source)

Undocumented

caseInsensitive: bool = (source)

Undocumented

lname: str = (source)

Undocumented

name: str = (source)

Undocumented

Undocumented

Undocumented

def _collect_text(self, paths, deep): (source)

Undocumented

def _convert_key(self, key): (source)

Undocumented

def _convert_path(self, path): (source)

Undocumented