Compare xml files using msxml
Hi,
I am working on a new assignment on comparing two xml files. The expected behaviour is the program should check and compare the nodes. the nodes could be scattered anywhere in the source or target file.
If a node at location x in the source file is found in the y location of target xml file then the program should ignore and treat the files as similar.
If there is an excess node in target xml, then it should prompt the user about the addition.
Same is the case with updations, deletion of nodes etc.
I request you to please guide me on how to proceed with this kind of requirement.
I would be using msxml api for the above.
thanks
Re: Compare xml files using msxml
What code do you have so far?
Re: Compare xml files using msxml
I do not have any code as of now.. Just looking for what are the best ways and apis to start with.
Re: Compare xml files using msxml
I wonder in this case would the IComparable interface help you?
Re: Compare xml files using msxml
i have also the same requirement to compare two xml files.
Please let me know how did u solve this?