W3C home > Mailing lists > Public > public-vocabs@w3.org > April 2012

Re: Two properties = One value

From: Adrian Giurca <giurca@tu-cottbus.de>
Date: Mon, 02 Apr 2012 09:27:35 +0200
Message-ID: <4F7954E7.1050104@tu-cottbus.de>
To: Guillermo Brossi <GBrossi@licenciasonline.com>
CC: "public-vocabs@w3.org" <public-vocabs@w3.org>
According with 
http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#names:-the-itemprop-attribute
you can add as many properties you need.

The |itemprop 
<http://www.whatwg.org/specs/web-apps/current-work/multipage/microdata.html#names:-the-itemprop-attribute>| 
attribute, if specified, must have a value that is an unordered set of 
unique space-separated tokens 
<http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html#unordered-set-of-unique-space-separated-tokens> 
that are case-sensitive 
<http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#case-sensitive>, 
representing the names of the name-value pairs that it adds. The 
attribute's value must have at least one token.

Regards,
Adrian
On 3/29/2012 11:35 PM, Guillermo Brossi wrote:
>
> In my case, Brand and Manufacturer from a Product are the same value.
>
> Is valid to do that?
>
> <div itemprop="brand manufacturer">Adobe</div>
>
> Or I must do that:
>
> <div itemprop="brand">Adobe</div>
>
> <div itemprop="manufacturer">Adobe</div>
>
> Thanks!
>

-- 
- Adrian
/Follow Me on Twitter <http://www.twitter.com/giurca>
Connect on Linkedin <http://de.linkedin.com/in/adriangiurca> /
Received on Monday, 2 April 2012 07:28:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:49:02 GMT