Skip to main content

All Questions

Tagged with
3 votes
1 answer
3k views

Compare XML structures

I have 2 XML files. Their content is very different. But they differ not so much in the structure. Let's say the first XML implements a standard in version 1.0 and the second XML file implements the ...
juergen d's user avatar
  • 451
1 vote
1 answer
1k views

Looking for different tags in two XML files when the content is different

From time to time I translate some Android apps: the developer sends me an XML file, e.g. <string name="foo">Foo</string> <string name="baz">Baz</string> and I send him back ...
A.P.'s user avatar
  • 441
10 votes
1 answer
13k views

Sorting XML files so that differences can then be found

I need to compare two XML files, each of which is about 13,000 lines long. Sadly the code that generates these files doesn't generate the data in the same order each time (the data comes from a ...
Rich's user avatar
  • 2,131
1 vote
0 answers
225 views

StatSVN generated XML is slightly out of date

There are no StatSVN questions on superuser, but why not start? ;-) Here's my problem... I generate a log from subversion with: svn log -v --xml > log.xml The latest revision that shows up in ...
Alan Turing's user avatar
14 votes
6 answers
1k views

Line-length-tolerant XML diff

I've looked at the answers to this question, and unfortunately none of them has helped me so far. Not to beat about the bush, the second edition of C# in Depth is now in copy edit. I want to be able ...
Jon Skeet's user avatar
  • 5,144
110 votes
10 answers
106k views

How can I diff two XML files?

On Linux, how could I generate a diff between two XML files? Ideally, I would like to be able configure it to some things strict, or loosen some things, like whitespace, or attribute order. I'll ...
qedi's user avatar
  • 1,621