Contents:
Called when the parser detects a start tag (child element) while in this node.
Called when the parser detects character data while in this node.
Generator yielding children of this node, optionally matching the given tag name.
Called when the parser detects an end tag.
Generator yielding any descendants of this node with the given tag name.
Returns the first child of this node, optionally matching the given tag name.
Inserts a new element as a child of this element, before the specified index or sibling.
Generator yielding key, value attribute pairs, sorted by key name.
Returns the last child of this node, optionally matching the given tag name.
Returns the next sibling of this node, optionally matching the given tag name.
Returns the previous sibling of this node, optionally matching the given tag name.
Writes an XML representation of this node (including descendants) to the specified file-like object.
Returns an XML representation of this node (including descendants).