963137 wrote:okay, that's what i figured. "diff"ing xml (or even text for that matter) is a fairly difficult task. you should probably look at existing tools before attempting it yourself ("diff xml" gets lots of hits in google).
Thanks for the reply.
I need to compare 2 xml node by node. For example, if I have 2 files says inventry1.xml & inventry2.xml. Now I want to see whether these 2 files are same or not. Then I will compare node by node and whatever node have different values or unmatched that I will show in my output.