i have also the same requirement to compare two xml files.
Please let me know how did u solve this?