Questions to develop an app to compare and merge XML files

Edouard Durand 1 Reputation point
2022-05-23T13:40:42.647+00:00

Hello,

If I am developing a C# application that allows to compare two XML files and also to merge two XML files, how should I make it?

Which libraries to use?

Do you have examples on comparing 2 XML files and merging 2 XML files?

I would also like to output a report that lists the differences between the 2 XML files.

Thank you for your help.

Developer technologies | Windows Forms
Developer technologies | C#
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,006 Reputation points Volunteer Moderator
    2022-05-23T22:49:19.803+00:00

    doing diffs is a whole field of computer science.

    here is a simple diff library to get you started:

    https://github.com/BrutalSimplicity/XmlDiffLib

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.