Extend @refid and including of microdata

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