|Just another Perl shrine|
XML Compare and exact differences need to be listed outby srikrishnan (Beadle)
|on Sep 30, 2013 at 04:49 UTC||Need Help??|
srikrishnan has asked for the
wisdom of the Perl Monks concerning the following question:
I need one help. If anybody help me, it would be very helpful for me.
I want to compare 2 xml files. First XML is initially created one. Second XML is corrected one. Now I want to compare these two xml files and list out what are all the changes in between these two files. for example, in the corrected xml file, some spelling errors may corrected ('diferent' has been changed to 'different'). Now that whole type of list needs to be generated in a separate file.
I have checked both "File:Compare" and "XML:Compare" modules. First one, just give boolean report of whether both or same or not. Second one, list out the whole environment. For example, if a word in a paragraph is corrected means, it shows the whole paragraph as changed one. Instead of that I want only the particular words list.
Is there any module available for my purpose? Please give your suggestions to achieve the above said requirement.