Xmllint - Xml-file problem --ods file not opening

Dear All,
this is my first post on this Forum, glad to be here.

I'm trying to fix an .ods file. Yes, I had a backup, but it's also corrupted.

When opening the document I get this EM:
read error
format error discovered in the file in sub-document content.xml at
2,337040(row,col).

So I unpacked the .ods file, and I'm now trying to use
xmllint to repair or at least understand what is wrong in content.xlm

So I'm not asking here that someone would repair it for me, my question is more on the use of xmllint.

output of command

[james@james treinkaart]$ xmllint --debug content.xml
content.xml:2: parser error : Attribute draw:z-index redefined
m" draw:z-index="511" table:number-columns-repeated="23" table:style-name="ce65"
                                                                               ^

and that about 20 times.

I googled this EM but cannot find anything.

Can anyone help me on what steps further to take?

Many thanks already.

Greetings, James

You might put it up on a web browser so it can be visually inspected, and look for those strings, and some mangling in that area.

Check out the info on this link:
[Hint] How did I fix my ODT file (View topic) � OpenOffice.org Community Forum

You need to use Kernel for Calc for repairing your .ods file.