Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ignore a node while comparing 2 XML files with same structure

1 view
Skip to first unread message

Abhi

unread,
Apr 18, 2011, 3:38:03 AM4/18/11
to
Hi,

I am trying to compare 2 XML files(file1.xml and file2.xml) with same
structure, but i need to ignore one particular node in both the files
as its values in both the files are different......

How can I do that......

The structure of the 2 xml files, file1.xml and file2.xml is as
follows:
<ExtResp>
...............
<Resp>
...............
<Lst>
...............
<Problem>
<id>...............</id>
<text>...........</text>
</Problem>
</Lst>
</Resp>
</ExtResp>


Only the <id> and <text> have different values, so I need to ignore
these tags(i.e. contained within <Problem>). How can i do this?


0 new messages