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: RE: [opendocument-users] merging xml subdocuments

I think the single file is meant to be a standalone XML document.  

OpenOffice.org 2.0 will produce such a thing, but you have to install a
dummy import/export filter to make it work.  I passed on that the last time
I tried because I didn't have Java installed and it required it.  I'm not
sure on what discussion list or forum I found the tip for that.

 - Dennis 

-----Original Message-----
From: Daniel Carrera [mailto:daniel.carrera@zmsl.com] 
Sent: Saturday, July 29, 2006 01:39
To: opendocument-users@lists.oasis-open.org
Subject: Re: [opendocument-users] merging xml subdocuments

Hmmm... although the spec is clear about how to create a single XML, it
certainly isn't clear about naming conventions and the like.

Yes, to create a single XML all you have to do is put all the contents of
styles.xml, meta.xml, content.xml and settings.xml all in one file and wrap
them around <office:document> tags. But the spec says nothing about whether
you can use this in the zip file or what name it should have. My current
interpretation is that the single XML file is only intended for an
application's internal processing and not as a final mode of storage.

Hmmm.... :(

Maybe someone else can comment and clarify.


On Fri, 2006-28-07 at 21:56 -0400, jeff sacksteder wrote:
> I'm building documents dynamically using a templating system. I would 
> strongly prefer having a single xml document to simplify version 
> control. I see that the spec mentions that this is possible, but is 
> vague on details. What I would like is to have a zip file containing a 
> META-INF directory, a manifest.xml, and a document.xml.
> Is this possible?
> Does the unified file need to have a well-known name?
> Can I simply concatenate the three documents together and wrap them in 
> <office:document> tags?
  "The reasonable man adapts himself to the world; the
  unreasonable man tries to adapt the world to himself.
  Therefore all progress depends on unreasonable men."
        -- George Bernard Shaw

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