On Mon, Aug 17, 2009 at 3:51 PM, David Brochu<brochu...@gmail.com> wrote:
> I need to compare one xml document to another to see if the content matches.
> Unfortunately, the formatting (spacing) and order of elements may change
> between files from run to run. I have looked into xml dom minidom but can't
> seem to find how to accomplish this. Does anyone know how I can do a compare
> between two XML documents using the STL?

It seems to me that you're going to have to "normalize" the documents
to be able to compare them.  (I.e. strip or ignore spacing
differences, sort the elements to be in the same order, etc..)
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to