I have two xml files and I want to diff them.
The problem is the xml files are not formatted and are all in one line. Regular diff tools I found cannot auto format them.
I wonder if any tool out there can do this (need to be able to be called in a command prompt).
OR
is there a auto formater that I can call in command prompt so that I will call the diff tool afterwards.
Thank you!
http://tidy.sourceforge.net/ is a fine tool which indents your XML, so it’s easier to diff. There’s a port of the GNU diff tool with MinGW MSYS (or Cygwin). WinMerge is a fine graphical diff tool that I personally prefer.