OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

opendocument-users message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: how do I package OpenDocument as a single XML file

I created a odt file by OpenOffice 2.0 writer, now I want to package it as a single XML file. See the steps below I did:
1. Copy all contents of styles.xml/meta.xml/settings.xml -- <office:styles>..<office:styles>, <office:meta>....<office:meta>, <office:settings>...</office:settings>--, into content.xml
2. Change its root from <office:document-content> to <office:document> in content.xml, don't change others
3. Zip content.xml as content.odt.

But when I use OpenOffice 2.0 writer to open content.odt, a filter selection dialog is opened, then I select "OpenDocuement Text", a error message box is opened which tell me: "content.odt" is corrupt and therefore cannot be opened

Is there anything I missed? Thanks in advance.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]