This class supplies an alternative for xml.etree.ElementTree.TreeBuilder which cleans up the tree on the fly while building it. The main use is to normalize the tree that is produced by the editor widget, but it can also be used on other "dirty" interfaces.
This builder takes care of the following issues:
Method | __init__ |
Undocumented |
Method | append |
Undocumented |
Method | close |
Undocumented |
Method | data |
Undocumented |
Method | end |
Undocumented |
Method | start |
Undocumented |
Method | _append_to_previous |
Add text before current element |
Method | _flush |
Undocumented |
Instance Variable | _data |
Undocumented |
Instance Variable | _last |
Undocumented |
Instance Variable | _last_char |
Undocumented |
Instance Variable | _stack |
Undocumented |
Instance Variable | _tail |
Undocumented |