Comparing XML responses is way more painful than it should be
Had to compare two XML API responses today…
Version 1:
<user>
<id>101</id>
<name>John</name>
</user>
Version 2:
<user>
<id>101</id>
<name>John Doe</name>
</user>
Looks simple here — but real responses are huge.
And manually finding changes in nested XML = nightmare.
So I tried using a diff tool that highlights differences side by side.
Much easier to spot:
- changed values
- missing nodes
- structural differences
How do you usually compare XML?