asp.net - How to compare two XML files and add missing elements using c# -


Occasionally, one or more XML elements are missing from the XML file. Right now, I am thinking that comparison of an XML file is compared to a master XML file (with all elements) and if any element is missing, then add that file to the XML file from the master file.

How do I get this or any other better idea?

One of these looks around the Microsoft site is the best library XmlDiffPatch library I found you get more information But it essentially allows you to compare two documents, find all the differences and then apply those differences.

is very useful for inserting XML files to send across a network

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -