Re: Test 0292 RDFa1.1 only?

On Sun, 13 May 2012 12:47:46 +0200
Niklas Lindström <lindstream@gmail.com> wrote:

> Specifically this means that in 1.0, even if the value is given in a
> @content, the nested content isn't parsed for RDFa, right?

When a value is given in @content, nested content is always parsed.
This allows for things like:

 <h1 about="#i" property="foaf:name" content="Toby Inkster">
   <span property="foaf:givenName">Toby</span>
   <span property="foaf:familyName">Inkster</span>
 </h1>

(Setting datatype="" instead of content="" has the same effect, but
then you have to deal with whitespace preservation.)

-- 
Toby A Inkster
<mailto:mail@tobyinkster.co.uk>
<http://tobyinkster.co.uk>

Received on Monday, 14 May 2012 08:05:38 UTC