#1 2012-07-19 13:04:37

shousseine
Member
Registered: 2011-05-02
Posts: 31

Xml file comparison

Tags: [comparison, xml]

Hi,

I have 2 XML files having the same schema that I'd like to compare and find differences betwen them.

Is there a way to do it directly?

Thanks

Last edited by shousseine (2012-07-19 19:49:10)

Offline

#2 2012-07-20 03:41:59

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Xml file comparison

Hi

I'm just curious. You want to check whether these two files are the same?
Or you want to find the different data between them?
For simple comparision, you might use tFileCompare.
For finding the different data, this depends on your essential requirement. Maybe what you want is TOS for DQ.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-07-20 10:32:33

shousseine
Member
Registered: 2011-05-02
Posts: 31

Re: Xml file comparison

thx pedro,

My comparison is to find the differences existing between the two files at their data. These two files can be the same but from different sources, the aim is to detect existing differences between their data
Would I use TOS for DQ ?
Thx

Offline

#4 2012-07-20 11:18:26

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Xml file comparison

Hi

Is there any rule? Which node do you want to compare?
In fact, according to your description, I have no idea how to create this job.

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-07-20 11:54:30

shousseine
Member
Registered: 2011-05-02
Posts: 31

Re: Xml file comparison

Ok,

In fact in my xml files, I have real estate offers good (node "offer") with elements like "availability", "global surface", "energy used", "price"...
Now I have the same file from 2 system. I'd like to verify that we have the same data in the two.

Thx

Offline

#6 2012-07-23 11:49:45

HarveyJones
New member
Company: 4723 Utah St, Waco, TX 76705
Registered: 2012-07-23
Posts: 1

Re: Xml file comparison

I got the same offer for real estate elements, that would be more realistic  for my xml codes.  Can I keep the resembling files with changing the schemas ?

Last edited by HarveyJones (2012-07-23 11:50:24)


bozeman real estate

Offline

Board footer

Powered by FluxBB