Timeline for How can I diff two XML files?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 22, 2014 at 14:33 | comment | added | ᴠɪɴᴄᴇɴᴛ |
The --exc-c14n option specifies sorting of the attributes. In your specific files the attributes probably were already sorted, but the general advice would be to use the combination --format --exc-c14n .
|
|
Dec 21, 2014 at 6:49 | comment | added | GuruM | It's been quite some time since I wrote the answer, but I faintly remember using the --exc-c14n flag. However, diff-ing the output with/without the flag showed no differences so just stopped using it. Dropping unnecessary/unused flags might make the process faster. | |
Nov 27, 2014 at 14:05 | comment | added | ᴠɪɴᴄᴇɴᴛ |
This was the option I needed. Supposedly the most canonical version can be obtained by combining --format with --exc-c14n ; will probably be still slower to process :(
|
|
Aug 8, 2012 at 10:36 | comment | added | GuruM |
In my case two.xml was generated from one.xml by a script. So I just needed to check what was added/removed by the script.
|
|
Aug 8, 2012 at 10:33 | history | edited | GuruM | CC BY-SA 3.0 |
added more details
|
Aug 8, 2012 at 10:24 | history | edited | GuruM | CC BY-SA 3.0 |
added more details
|
Aug 8, 2012 at 10:23 | history | undeleted | GuruM | ||
Aug 8, 2012 at 10:21 | history | deleted | GuruM | ||
Aug 8, 2012 at 9:58 | history | answered | GuruM | CC BY-SA 3.0 |