An element elements collected. Children are elements and strings of
character data in document order: adjacent text is one string, and comments
and processing instructions are dropped.
Attributes#
| Attribute | Type | Description |
|---|---|---|
name | str | |
attributes | Mapping[str, str] = field(default_factory=(dict[str, str]), hash=False) | |
children | tuple[Element | str, ...] = () |
Functions#
__init__#
__init__(name, attributes=dict[str, str](), children=()) -> None| Parameter | Type | Description |
|---|---|---|
name | str | |
attributes | Mapping[str, str] = dict[str, str]() | |
children | tuple[Element | str, ...] = () |