GeekInterview.com
Series: Subject: Topic:
Question: 13 of 779

XML file compare - ignoring file structure

I am looking for a generic way to compare the information in 2 separate (xml) files regardless of the structure of the files. What I need is a way to check the two files. Evaluate if the data is equal and reflect (report) only the discrepancies. e.g. File 1============ Dear John Reminder Do not forget the meeting ============ File 2============ Dear John Do not forget the meeting Reminder ============ The script I am using only does a 1-2-1 element comparison - so although the information in the file is equal the test results in a failure because the elements appear in different places in the files. Any help is appreciated.
Asked by: ffavini | Member Since Jan-2012 | Asked on: Jan 26th, 2012

View all questions by ffavini

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.