Bugzilla – Bug 560
Generate a triple for each top-level item, so that they can be enumerated easily.
Last modified: 2009-05-27 14:44:32 CEST
Index: source =================================================================== --- source (revision 3088) +++ source (revision 3089) @@ -45921,7 +45921,7 @@ </div> - <p>Properties don't have to be given as ancestors of the element + <p>Properties don't have to be given as descendents of the element with the <code title="attr-item">item</code> attribute. They can be associated with a specific <span title="concept-item">item</span> using the <code title="attr-subject">subject</code> attribute, which @@ -46838,9 +46838,31 @@ <li> <p>For each element that is also a <span title="top-level - microdata items">top-level microdata item</span>, <span - title="generate the triples for an item">generate the triples for - the item</span>. (Nothing is done with the returned subject.)</p> + microdata items">top-level microdata item</span>, run the following steps:</p> + + <ol> + + <li> + + <p><span title="generate the triples for an item">Generate the + triples for the item</span>. Let <var title="">item</var> be the + subject returned.</p> + + </li> + + <li> + + <p>Generate the following triple:</p> + + <dl class="triple"> + <dt>subject <dd> <span>the document's current address</span> + <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/vocab#item</code> + <dt>object <dd> <var title="">item</var> + </dl> + + </li> + + </ol> </li>