Get a recursively-generated list of tree-index, sub-element/attribute pairs. If sub == False, do not show sub-elements. If attr == False, do not show attributes. If text == False, do not show text/Unicode sub-elements.
(self, sub=True, attr=True, text=True)
source not stored for this graph (policy: none)