Question:
how to compare two xml files. Give the sample code in c#.net?
anonymous
2006-07-24 22:25:02 UTC
how to compare two xml files. Give the sample code in c#.net?
Three answers:
blazeimurill
2006-07-24 22:36:38 UTC
I like to use WinMerge. You can download from www.sourceforge.net.
anonymous
2016-11-03 02:55:15 UTC
the coolest judgment for this examine the 1st record via loading it in an Xml document. load yet another record in yet another xml document and take its outerxml and append it into the 1st one and then save the 1st document. XmlDocument xmlfile1=null; XmlDocument xmlfile2=null; try { xmlfile1 =new XmlDocuiment(); xmlfile1.Load(""); xmlfile2 =new XmlDocuiment(); xmlfile2.Load(""); xmlfile1.DocumentElement.InnerXml+=xml... xmlfile1.save((""); } catch(Exception e) { throw e; } finally { if (xmlfile1!=null) xmlfile1=null; if (xmlfile2!=null) xmlfile2=null; } so trouble-free that's it .
manish_gidwani_80
2006-07-25 00:48:11 UTC
hey there is an easier way out

down laod stylus studio

and there i s an functional;ity in it to compare xslt


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...