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

Re: Default value for @about depending on language [Re: Non-XHTML host languages for RDFa]

From: Toby Inkster <tai@g5n.co.uk>
Date: Tue, 01 Dec 2009 09:21:48 +0000
To: Christoph LANGE <ch.lange@jacobs-university.de>
Cc: RDFa Developers <public-rdf-in-xhtml-tf@w3.org>
Message-ID: <1259659308.17105.8.camel@ophelia2.g5n.co.uk>
On Tue, 2009-12-01 at 01:09 +0100, Christoph LANGE wrote:
> In OMDoc, however, the situation is different.  There, RDFa metadata
> are attached to elements, and the metadata are always metadata of
> these elements, and it it recommended to give elements an @xml:id.
> Therefore, we have in most cases the situation
> 
> <element xml:id="i" about="#i">
>   <meta property="onto:foo" content="bar"/>
>   ...
> </element>

You could always lose the @about attribute and mention in your
documentation that "OMDoc uses RDFa with the following
modifications...".

To be helpful you could provide an XSLT file to transform <element
xml:id="foo"> to <element xml:id="foo" about="#foo">, which would ease
the burden on people wishing to apply generic RDFa processors to OMDoc
documents.

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>
Received on Tuesday, 1 December 2009 09:22:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 December 2009 09:22:33 GMT