html5/markup/tools generate-spec-source.xsl,1.189,1.190

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

Modified Files:
	generate-spec-source.xsl 
Log Message:
further streamlined many element descriptions


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -d -r1.189 -r1.190
--- generate-spec-source.xsl	29 Jul 2009 10:01:29 -0000	1.189
+++ generate-spec-source.xsl	29 Jul 2009 11:23:47 -0000	1.190
@@ -1136,10 +1136,6 @@
           <xsl:with-param name="name" select="$name"/>
         </xsl:call-template>
         <xsl:text>&#10;      </xsl:text>
-        <xsl:call-template name="make.details.section">
-          <xsl:with-param name="name" select="$name"/>
-        </xsl:call-template>
-        <xsl:text>&#10;      </xsl:text>
         <xsl:call-template name="make.context.section">
           <xsl:with-param name="name">
             <xsl:choose>
@@ -1153,6 +1149,10 @@
           </xsl:with-param>
           <xsl:with-param name="full-name" select="$name"/>
         </xsl:call-template>
+        <xsl:text>&#10;      </xsl:text>
+        <xsl:call-template name="make.details.section">
+          <xsl:with-param name="name" select="$name"/>
+        </xsl:call-template>
         <!-- * ***************************************************************** -->
         <!-- * * MAKE EXAMPLES SECTION -->
         <!-- * ***************************************************************** -->
@@ -1392,22 +1392,6 @@
   </xsl:template>
 
   <!-- * ***************************************************************** -->
-  <!-- * * MAKE THE "DETAILS" SECTION -->
-  <!-- * ***************************************************************** -->
-  <xsl:template name="make.details.section">
-    <xsl:param name="name"/>
-    <xsl:if
-      test="document(concat('../elements/',$name,'.html'))//h:div[@id='details']">
-      <xsl:text>&#10;        </xsl:text>
-      <div class="no-number no-toc" id="{$name}-details">
-        <xsl:text>&#10;        </xsl:text>
-        <h2 class="element-subhead">Details</h2>
-        <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='details']/node()"/>
-      </div>
-    </xsl:if>
-  </xsl:template>
-
-  <!-- * ***************************************************************** -->
   <!-- * * MAKE THE "TAG OMISSION" SECTION -->
   <!-- * ***************************************************************** -->
   <xsl:template name="make.tag.omission.section">
@@ -1541,6 +1525,25 @@
   </xsl:template>
 
   <!-- * ***************************************************************** -->
+  <!-- * * MAKE THE "DETAILS" SECTION -->
+  <!-- * ***************************************************************** -->
+  <xsl:template name="make.details.section">
+    <xsl:param name="name"/>
+    <xsl:if
+      test="document(concat('../elements/',$name,'.html'))//h:div[@id='details']">
+      <xsl:text>&#10;        </xsl:text>
+      <div class="no-number no-toc" id="{$name}-details">
+        <xsl:text>&#10;        </xsl:text>
+        <h2 class="element-subhead">Details</h2>
+        <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='details']/node()"/>
+      </div>
+    </xsl:if>
+  </xsl:template>
+
+<!-- * ================================================================= -->
+<!-- * ================================================================= -->
+
+  <!-- * ***************************************************************** -->
   <!-- * * MAKE AN INDIVIDUAL CONTENT MODEL -->
   <!-- * ***************************************************************** -->
   <xsl:template name="make.content.model">

Received on Wednesday, 29 July 2009 11:23:59 UTC