I know that standards define two versions of ODT file:
– one is a archive of different files, i.e. meta.xml, content.xml etc,
– second is one big XML file with all the data.
(I know above from http://en.wikipedia.org/wiki/OpenDocument_technical_specification#Document_Representation)
The latter version is better for processing, but unfortunately is not produced by OpenOffice.
The question is:
Do you know any filter, converter, or anything what would help me transform ODT file in archive version into single XML file? The best would be a Java class.
I solved the case by producing XSLT stylesheet that transforms ODT source files into one XML file “more or less” compatible with the standard. Below is the code.