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: citation example


Ahem, this is wrong:

On Jun 11, 2007, at 11:35 AM, Bruce D'Arcus wrote:

> <odf:Package rdf:about="urn:uuid:224ab023-77b8-4396-a75a-8cecd85b81e3"
>             
> xmlns:odf="http://docs.oasis-open.org/opendocument/meta/package#";
>             xmlns:dcterms="http://purl.org/dc/terms/";>
>   <dcterms:hasPart>
>     <odf:MetadataFile odf:path="citation.rdf">
>       <odf:Element 
> rdf:about="urn:uuid:afdc453c-5dc8-4988-8dab-fc378bd9e73d"
> 			odf:idref="citation-1-r1"/>
>       <odf:Element 
> rdf:about="urn:uuid:321fc314-69d3-4019-859d-29a5dc2721a0"
> 			odf:idref="citation-1-r1"/>
>     </odf:MetadataFile>
>   </dcterms:hasPart>
>   <dcterms:hasPart>
>     <odf:MetadataFile odf:path="bibliography.rdf"/>
>   </dcterms:hasPart>
> </odf:Package>

For those paying attention, I think it should be:

<odf:Package rdf:about="urn:uuid:224ab023-77b8-4396-a75a-8cecd85b81e3"
             
xmlns:odf="http://docs.oasis-open.org/opendocument/meta/package#";>
   <odf:hasPart>
     <odf:MetadataFile odf:path="citation.rdf">
       <odf:hasPart>
         <odf:Element 
rdf:about="urn:uuid:afdc453c-5dc8-4988-8dab-fc378bd9e73d"
			odf:idref="citation-1-r1"/>
       </odf:hasPart>
       <odf:hasPart>
         <odf:Element 
rdf:about="urn:uuid:321fc314-69d3-4019-859d-29a5dc2721a0"
			odf:idref="citation-1-r1"/>
       </odf:hasPart>
     </odf:MetadataFile>
   </odf:hasPart>
   <odf:hasPart>
     <odf:MetadataFile odf:path="bibliography.rdf"/>
   </odf:hasPart>
</odf:Package>

The RDF/XML syntax was just a bit wrong, and we're using odf:hasPart 
rather than dcterms:hasPart.

Bruce



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