How can I compare two XML files for equivalency in python?
Posted on 2007-10-17
I would like to be able to compare two xml files from python. This is being used to ensure that an answer received from a web service (SOAP call) matches predefined expected output. Currently, if there is extra space between xml tags or if any of the the child xml tags are not in the exact same order, this check fails. Alternatively, finding another way to accomplish the same task (check response from a SOAP call against an expected result) is also welcome.