Re: DC in XHTML2

I agree, it's very limited if you have to write a new span or div for every 
triple, but, if we can reference an RDF resource, that resource can provide 
as much metadata as you want. It can be done in many ways but RDF Content 
Labels would do it like this:

<div id="titanic" property="label:hasLabel"
  resource="http://example.org/labels.rdf#label_1">
  <span property="dc:title" class="title">Titanic</span>
  <a href="titanic.mov">See the movie</a>
</div>

Follow that resource link and you get to:

<label:ContentLabel rdf:ID="label_1">
  <label:hasClassification rdf:resource="age:twelve" />
  <ex:thing>value</ex:thing>
  <ex:thing2>value</ex:thing2>
  ...
</label:ContentLabel>

My use case really just needs support for a resource attribute in XHTML2 but 
support within that for QNames would make it more compact which is where 
Misha started with all this.

Phil.


----- Original Message ----- 
From: "Johannes Koch" <koch@w3development.de>
To: <www-html@w3.org>
Cc: <semantic-web@w3.org>; <iptc-metadata@yahoogroups.com>; 
<dc-general@jiscmail.ac.uk>
Sent: Wednesday, June 08, 2005 1:39 PM
Subject: Re: DC in XHTML2


>
> Phil Archer wrote:
>
>> <div id="titanic" property="label:hasClassification" 
>> resource="age:twelve">
>>  <span property="dc:title" class="title">Titanic</span>
>>  <a href="titanic.mov">See the movie</a>
>> </div>
>
> I think this approach is too limited, as it only permits one tripel per 
> element. What do you do when you want more? Wrap the div in another div?
>
> <div id="titanic" property="label:hasClassification" 
> resource="age:twelve">
>  <div property="foo:duration" resource="bar:105">
>   <span property="dc:title" class="title">Titanic</span>
>   <a href="titanic.mov">See the movie</a>
>   </div>
> </div>
>
> No no
> -- 
> Johannes Koch
> In te domine speravi; non confundar in aeternum.
>                             (Te Deum, 4th cent.)
>
> 

Received on Wednesday, 8 June 2005 13:18:13 UTC