Building on another SO question, how can one check whether two well-formed XML snippets are semantically equal. All I need is \"equal\" or not, since I\'m using this for un
You can use formencode.doctest_xml_compare -- the xml_compare function compares two ElementTree or lxml trees.