on_end_element Event
Fired when an end-element tag is encountered.
Syntax
class XMLEndElementEventParams(object): @property def namespace() -> str: ... @property def element() -> str: ... @property def q_name() -> str: ... @property def is_empty() -> bool: ... # In class XML: @property def on_end_element() -> Callable[[XMLEndElementEventParams], None]: ... @on_end_element.setter def on_end_element(event_hook: Callable[[XMLEndElementEventParams], None]) -> None: ...
Remarks
The on_end_element event is fired when an end-element tag is found in the document.
The element name is provided by the Element parameter.
The IsEmpty parameter is true when the event corresponds with an empty element declaration.