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

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-metadata message

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


Subject: Re: [office-metadata] Binding by RDF vocabulary for ODF


Bruce expressed during last call his hope, that we would get ready with 
this by tomorrow.
To be able to do so, we need to specify the ODF related RDF vocabulary.
At least I would like to hear some comments.

Elias example

>> [Wed:16:43:18] <EliasT> meta:about="urn:uuid:123"
>> [Wed:16:43:32] <EliasT> urn:uuid:123 a odf:Element ;
>> [Wed:16:51:32] <EliasT> urn:uuid:123 odf:name "content.xml#foo" .
To get a feeling for this, I mapped his draft to ODF.
In real world it might look like this:

RDF/XML file:
<rdf:Description rdf:about='urn:uuid:224ab023-77b8-4396-a75a-8cecd85b81e3'>
    <rdf:type 
rdf:resource="http://docs.oasis-open.org/office/2007/03/meta/rdf#element"/>
    <odf:name>style.xml#some_id</odf:name>
    <ex:editor>
        <rdf:Description>
            <ex:fullName>James Bond</ex:fullName>
        </rdf:Description>
    </ex:editor>
</rdf:Description>

Styles.xml file:
<style:master-page style:name="Standard" style:page-layout-name="pm1">
    <style:footer>
        <text:p xml:id="some_id"
                text:style-name="fs">Some text</text:p>
    </style:footer>
</style:master-page>

PS: Aside of providing a superclass expressing every resource of an ODF 
package, we might as well provide sub-classes for every element, that is 
able to have a xml:id attribute.

Svante


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