- From: Toby Inkster <tai@g5n.co.uk>
- Date: Mon, 7 Sep 2009 11:16:45 +0100
- To: Ivan Herman <ivan@w3.org>
- Cc: Niklas Lindström <lindstream@gmail.com>, RDFa Developers <public-rdf-in-xhtml-tf@w3.org>
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>
--
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Monday, 7 September 2009 10:17:21 UTC