OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [XML-dev] Comparing 2 xml documents




Raman,

I do not know your application but there may be more to just different
spacing while comparing the 2 XML documents for "same stuff".

1. How about if the elements in same hierarchy are in  different order (DTD
wise correct)?
2. How about if line item instances are in different order?
etc.

The point being that the 2 documents may "look" very different inspite of
being "syntactically" correct, and "semantically" same stuff.

Just a thought.

Thanks,

Ajay


-----Original Message-----
From: xml-dev-return-518-sanghi=giasdl01.vsnl.net.in@lists.xml.org
[mailto:xml-dev-return-518-sanghi=giasdl01.vsnl.net.in@lists.xml.org]On
Behalf Of Yakkala, Raman
Sent: Friday, November 16, 2001 5:04 AM
To: 'xml-dev@lists.xml.org'
Subject: [xml-dev] Comparing 2 xml documents


Hello,

I am in the need of comparing 2 xml documents to see whether both of the
documents represents the same stuff. The spacing may be different in the
documents. Are there are any libraries available for comparison?

Thanks for your help.

-Raman

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>