end_element Method
Finishes the current composite data element.
Syntax
def end_element() -> None: ...
Remarks
Call on_end_element once you've written all components in an element started with start_element. You should not call this if you wrote a simple element using write_element_string