0

I have two files to compare with each other... 1) An xml file 2) A text file made from same XML but have some changes done afterwards.

I need to compare these two files and highlight the changed/inserted/deleted words (xml tags should not be highlighted). Can anyone suggest me a third party component that can help me out make such an application? I want to develop this application in C#.

Thanks in advance.

4

1 回答 1

0

也许这可能有用:

C# 中的通用、可重用差异算法 - II http://www.codeproject.com/Articles/6943/A-Generic-Reusable-Diff-Algorithm-in-C-II

于 2012-11-02T13:34:14.430 回答