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

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

Toby A Inkster
Received on Tuesday, 1 December 2009 09:22:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:06 UTC