Having revisited this with a fresh pair of eyes, I've found a solution. It needs Microsoft's XmlDiffPatch to be installed from http://msdn.microsoft.com/en-us/library/aa302294.aspx, you can then add a reference to XmlDiffPatch to your project and a using Microsoft.XmlDi ffPatch to the top of your .cs file. Code along the lines of the following can then be used to compare two XML fragments.
Code:
public
Leave a comment: