Embed custom content in OpenDocument format

Talk about anything at all....

Embed custom content in OpenDocument format

Postby daune_jf » Tue Jan 22, 2008 2:26 pm

Hi all,

does anybody know if it is allowed to embed custom content (from custom schema) to content.xml, and if so, to which tags?

It is, IMHO, a strong point of M$ OOXML, and from the OpenDocument standard, I can't find much info about this.

Cheers,

J-F
daune_jf
 
Posts: 2
Joined: Tue Jan 22, 2008 12:54 pm

Re: Embed custom content in OpenDocument format

Postby r4zoli » Tue Jan 22, 2008 5:03 pm

I'm not sure about your question, but I think you ask about ODF 1.2 and metadata capabilities of OOo.
You could read more in http://blogs.sun.com/GullFOSS/entry/new_extensible_metadata_support_with. The metadata will be in OOo 3.0, which will be out around September 2008.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
User avatar
r4zoli
Volunteer
 
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: Embed custom content in OpenDocument format

Postby acknak » Tue Jan 22, 2008 6:16 pm

Just out of curiosity, what is the purpose?

Can MS Office work with the custom XML, or is it your data "just along for the ride", so to speak?

I believe it is possible (but not convenient) to add data files to the ODF container, but of course OOo will not be able to do anything with such data.

Also, the XML forms support in OOo allow you to use and store custom XML data.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Embed custom content in OpenDocument format

Postby DrewJensen » Wed Jan 23, 2008 5:04 am

Well, OO.o out of the box might not be able to use this new data, but one could conceive of extensions to the package that could use additional data, or metadata, in a document for new functionality. An OO.o installation that did not have the extension would just ignore it.
Former member of The Document Foundation
Former member of Apache OpenOffice PMC
LibreOffice on Ubuntu 18.04
User avatar
DrewJensen
Volunteer
 
Posts: 1734
Joined: Sat Oct 06, 2007 9:01 pm
Location: Cumberland, MD - USA

Re: Embed custom content in OpenDocument format

Postby sybille » Thu Jan 24, 2008 12:18 pm

DrewJensen wrote:Well, OO.o out of the box might not be able to use this new data, but one could conceive of extensions to the package that could use additional data, or metadata, in a document for new functionality.
For an example of this, you might take a look at what ODF-SVN is doing.

ODF-SVN is a project to integrate version control using Subversion into ODF and is an update to the OOoSVN extension. As I understand it, they are using python to embed the version information into the XML of files. For example, see this thread:
odfsvn stores all repository information in the ODF metadata, which means that you do not need to configure anything on your system: all necessary information is already contained in the document.

That said, I believe ODF-SVN is using meta.xml rather than content.xml, if that makes a difference. But I don't think so, at least in principle - see the following: http://opendocument.xml.org/node/131
If your problem has been solved, please edit this thread's initial post and add "[Solved]" to the subject line. Thanks!
-------
About Ubuntu Linux
Zotero, for research and bibliography management with OOo.
OOo 2.4.X on Ubuntu 8.x + None needed :)
sybille
Volunteer
 
Posts: 122
Joined: Sat Jan 05, 2008 12:21 pm
Location: France


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests