Calling the .clear() method on an Element instance removes all its content:
All values are removed from the .attrib dictionary.
The .text and .tail
attributes are both set to None.
Any child elements are deleted.