W3C home > Mailing lists > Public > public-html@w3.org > October 2009

Extend @refid and including of microdata

From: Giovanni Gentili <giovanni.gentili@gmail.com>
Date: Sat, 17 Oct 2009 17:48:50 +0200
Message-ID: <4a30f5360910170848k62a86086h72642b2030f4105d@mail.gmail.com>
To: public-html@w3.org
Actually in the spec [1] the refid attribute value
must be the ID of an element in the
same Document as the itemref element.

I think it would be useful to include also properties
defined by elements that are NOT in the same Document:

  <div itemscope id="amanda">
    <itemref refid="http://example.org/amandainfo#abc">
  </div>

This allows to include a recurring set of properties
into multiple elements placed in multiple pages,
without duplicating the info and with only one "source".

And, as another possibility, microdata could
be also extended to permit including like this:

  <itemref type="application/rdf+xml" src="http://example.org/amanda.rdf">


[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#itemref

-- 
Giovanni Gentili
Received on Saturday, 17 October 2009 15:49:44 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:09 UTC