W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > September 2009

Re: Feature request for RDFa 1.1 [Fwd: rdf:Lists in RDFa?]

From: Ivan Herman <ivan@w3.org>
Date: Mon, 07 Sep 2009 12:34:25 +0200
Message-ID: <4AA4E1B1.6030207@w3.org>
To: Toby Inkster <tai@g5n.co.uk>
CC: Niklas Lindström <lindstream@gmail.com>, RDFa Developers <public-rdf-in-xhtml-tf@w3.org>
Yes, something like that. One could say

<blabla role="Collection">

</blabla>

with the immediate descendents of <blabla> playing the same role as the
<li>-s in the case of <ul>/<ol>. Or use the @role for those elements as
well to make things explicit.

Ivan

Toby Inkster wrote:
> On 7 Sep 2009, at 10:00, Ivan Herman wrote:
> 
>> This approach is not optimal either, because it is really bound to the
>> specifics of HTML.
> 
> 
> Maybe @role could help out here.
> 
> <ul> and <ol> trigger the rdf:List behaviour, but if you want to use a
> different HTML element (e.g. <div>), or are using a markup language
> other than HTML, then you can force rdf:List behaviour via @role.
> 
> <list xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
>       about="#mylist"
>       role="xhv:list">
> ...
> </list>
> 

-- 

Ivan Herman, W3C Semantic Web Activity Lead
Home: http://www.w3.org/People/Ivan/
mobile: +31-641044153
PGP Key: http://www.ivan-herman.net/pgpkey.html
FOAF: http://www.ivan-herman.net/foaf.rdf


Received on Monday, 7 September 2009 10:35:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 September 2009 10:35:02 GMT