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] finishing up



Bruce D'Arcus wrote:
>
> On May 2, 2007, at 8:53 AM, Svante Schubert wrote:
>
>>> 3) Am I looking at the wrong file ("07-04-18-2nd-ODF-MetaData")? 
>>> Where's the binding stuff?? Its application to the field?
>> You mean the examples? They have been moved into a separate document, 
>> as ISO like to have examples being separated from the normative 
>> sections.
>
> No. I mean, didn't we have a odf:Binding class? Or did that get changed?
>
It was proposed to be changed in favor of dct:hasPart / dct:references. 
But unfortunately Elias, who brought up odf:Binding, did not comment the 
change so far..

Here an example of binding ODF elements from the pacakge to RDF IRIs:

<odf:Package rdf:about="urn:uuid:224ab023-77b8-4396-a75a-8cecd85b81e3"
             
xmlns:odf="http://docs.oasis-open.org/opendocument/meta/package#";
             xmlns:dct="http://purl.org/dc/terms/";>
    <dct:hasPart>
        <odf:ContentFile 
rdf:about="urn:uuid:321fc314-69d3-4019-859d-29a5dc2721a0" 
odf:path="content.xml">
            <dct:hasPart>
                <odf:Element 
rdf:about="urn:uuid:afdc453c-5dc8-4988-8dab-fc378bd9e73d" 
odf:idref="someID"/>
            </dct:hasPart>
        </odf:ContentFile>
    </dct:hasPart>
    <dct:hasPart>
        <odf:File rdf:about="http://rdf-named-graph/calendar/vcard"; 
odf:path="meta/calendar/vcard.rdf">
            <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#"/>
            <rdf:type rdf:resource="http://calendar/data"/>
            <dct:references>
                <odf:Element 
rdf:resource="urn:uuid:afdc453c-5dc8-4988-8dab-fc378bd9e73d"/>
            </dct:references>
        </odf:File>
    </dct:hasPart>
</odf:Package>

PS:
The ODF document is described by the rdf:about of the odf:Package. The 
odf:ContentFile has an IRI as well, but uses the RDF property odf:path, 
to separate itself from other content.xml of embedded files.

Svante


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