You are not logged in.

1

Wednesday, March 14th 2007, 2:07pm

How to DIFF .ODF files?

I created an ODF file (now standard) using KSpread.
I got a problem and I had to duplicate the file, now I have two copies of the same document (well, almost).
and I'd like to run a diff. but since they are binary of some sort. regular diff won't do.

anyone know of a way to diff ODF documents?

thanks

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Wednesday, March 14th 2007, 3:10pm

RE: How to DIFF .ODF files?

OpenDocument files are zipped XML based documents. Unzip them and compare the resulting content.xml files (note that there are some other directories and files created as well during unzipping).
Bram Schoenmakers
KDE Netherlands (www.kde.nl)