I have several config files in my .net applications which I would like to merge application settings elements etc.
I was about to begin doing it manually as I usually do, however thought there must be an XML diff GUI tool available somewhere.
The tool would be able to go to the element level to compare and display the differences etc.
However Google gave no substantive free tool results and no hints for anything of value.
Is such a tool available? That is very useful? For free?
Thanks in advance. :)
Edit:
Here is a bit of clarification of the functionality that would turn my error-prone, tedious manual job into a 1-minute simpler task (and potential to automate):
In KDiff3, you can do a diff/merge of entire directories. There is a hierarchical diff which is very accurate, user-friendly and clear. I was interested in finding a similar solution, however instead of directory hierarchy, an XML element hierarchy.
If there is no such open source software, I am considering creating one on CodePlex to provide this functionality.
To use this, create a new XSLT file (File > New > XSLT Stylesheet and place in it the stylesheet above. Save the file as "merge. xsl". You should also add the files (or folder) to an Oxygen project (Project view) and create a scenario of the "XML transformation with XSLT" type for one XML file.
Copy and paste, drag and drop a XML file or directly type in the editors above, and then click on "Compare" button they will be compared if the two XML are valids. You can also click on "load XML from URL" button to load your XML data from a URL (Must be https).
Have a look at File comparison tools, from which I am using WinMerge. It has an ability to compare XML documents (you may wish to enable DisplayXMLFiles
prefilter for v2.14.0 or PrettifyXML
for v2.16.x).
DisplayXMLFiles.dll - This plugin pretty-prints XML files nicely by inserting tabs and line breaks. This is useful for XML files that do not have line returns in convenient locations.
Note for v2.16.x
The plugin PrettifyXML
is supplied with the software package. It can be activated as following:
For those who wish to play with deprecated DisplayXMLFiles
, he needs to download e.g. winmerge-2.16.14-full-src.7z
and copy Plugins\dlls\X64\DisplayXMLFiles.dll
to WinMerge\MergePlugins\
.
See also my feature comparison table.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With