ODS Meta Data
Gannon Dick <[email protected]> Thu, 15 Oct 2009 01:14:35 -0700 (PDT)
| Newsgroups | gmane.comp.openoffice.devel.xml |
|---|---|
| Message-ID | <[email protected]> |
The user-defined meta data in "properties" changed (much for the better) in= Open Office version 3.1.=A0 A couple of comments:=0A=0A1. Don't know if it= has been logged as an issue yet, but the "date" data type doesn't work pro= perly.=A0 It error checks the date format, but if that is correct, it takes= the field off the list!=0A2. There is also a "time" datatype in the ODF sp= ec., but not implemented.=0A3. There are 20 or so fields in a drop down box= .=A0 If you want to use GRDDL* you'll have to a) take spaces out of the nam= e and b) include a namespace with the dot notation:=A0 e.g. "Checked By" wo= uld have to be typed in as "ODF.Checked_By", with a link to "schema.ODF".= =0A=0A* there might be no reason for GRDDL.=A0 I've only tested it with spr= ead sheets, but this transform should work for *.odt, etc.=A0 It's an expor= t filter from (flat) ODF to RDF/XML.=A0 It uses the OASIS namespace as a de= fault.=A0 (Warning: Don't modify it to work on the ODF file, just the meta.= xml component plus two attributes from office:documents gives 295 triples! = see: http://www.rustprivacy.org/odf/sstest.zip ).=0A=0AThe transform is : = http://www.rustprivacy.org/odf/ODSmeta2RDFXML.xsl=0A=0A(the name is case se= nsitive, download it if you like and change the name)=0A=0A--Gannon=0A=0A= =0A