html5/markup/tools generate-spec-source.xsl,1.261,1.262

Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv24242/tools

Modified Files:
	generate-spec-source.xsl 
Log Message:
drop the "Microdata property value" subsection and "RDFa evaluation context" subsection and replace them with a "Linked-data semantics" subsection that appears only for elements that do in fact have special semantics in the context of linked data/semantic-web use. (bug 10083)


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.261
retrieving revision 1.262
diff -u -d -r1.261 -r1.262
--- generate-spec-source.xsl	8 Jul 2010 20:22:53 -0000	1.261
+++ generate-spec-source.xsl	9 Jul 2010 01:22:28 -0000	1.262
@@ -1297,15 +1297,9 @@
         </xsl:call-template>
         <xsl:text>&#10;      </xsl:text>
         <!-- * ***************************************************************** -->
-        <!-- * * MAKE "RDFa" SECTION -->
-        <!-- * ***************************************************************** -->
-        <xsl:call-template name="make.rdfa.section">
-          <xsl:with-param name="name" select="$name"/>
-        </xsl:call-template>
-        <!-- * ***************************************************************** -->
-        <!-- * * MAKE "MICRODATA PROPERTY VALUE" SECTION -->
+        <!-- * * MAKE "LINKED-DATA SEMANTICS" SECTION -->
         <!-- * ***************************************************************** -->
-        <xsl:call-template name="make.microdata.section">
+        <xsl:call-template name="make.linked-data.section">
           <xsl:with-param name="name" select="$name"/>
         </xsl:call-template>
         <!-- * ***************************************************************** -->
@@ -1701,41 +1695,20 @@
   </xsl:template>
 
   <!-- * ***************************************************************** -->
-  <!-- * * MAKE THE "RDFa" SECTION -->
+  <!-- * * MAKE THE "LINKED-DATA SEMANTICS" SECTION -->
   <!-- * ***************************************************************** -->
-  <xsl:template name="make.rdfa.section">
+  <xsl:template name="make.linked-data.section">
     <xsl:param name="name"/>
-    <xsl:if test="document(concat('../elements/',$name,'.html'))//h:div[@id='rdfa']">
-      <div class="no-number no-toc rdfa" id="{$name}-rdfa">
+    <xsl:if test="document(concat('../elements/',$name,'.html'))//h:div[@id='linked-data']">
+      <div class="no-number no-toc linked-data" id="{$name}-linked-data">
         <xsl:text>&#10;        </xsl:text>
-        <h2 class="element-subhead">RDFa evaluation context</h2>
-        <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='rdfa']"/>
+        <h2 class="element-subhead">Linked-data semantics</h2>
+        <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='linked-data']"/>
       </div>
     </xsl:if>
   </xsl:template>
 
   <!-- * ***************************************************************** -->
-  <!-- * * MAKE THE "MICRODATA PROPERTY VALUE" SECTION -->
-  <!-- * ***************************************************************** -->
-  <xsl:template name="make.microdata.section">
-    <xsl:param name="name"/>
-    <div class="no-number no-toc microdata" id="{$name}-microdata">
-      <xsl:text>&#10;        </xsl:text>
-      <h2 class="element-subhead">Microdata property value</h2>
-      <xsl:choose>
-        <xsl:when test="document(concat('../elements/',$name,'.html'))//h:div[@id='microdata']">
-          <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='microdata']"/>
-        </xsl:when>
-        <xsl:otherwise>
-          <p>The
-            <a href="#text-content">text content</a>
-            of the element.</p>
-        </xsl:otherwise>
-      </xsl:choose>
-    </div>
-  </xsl:template>
-
-  <!-- * ***************************************************************** -->
   <!-- * * MAKE THE "CONTEXT" SECTION -->
   <!-- * ***************************************************************** -->
   <xsl:template name="make.context.section">

Received on Friday, 9 July 2010 01:22:34 UTC