html5/markup/tools generate-spec-source.xsl,1.192,1.193 specgen.xsl,1.36,1.37

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

Modified Files:
	generate-spec-source.xsl specgen.xsl 
Log Message:
added section about case insensitivity in tag names and attribute names


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -d -r1.192 -r1.193
--- generate-spec-source.xsl	30 Jul 2009 11:08:54 -0000	1.192
+++ generate-spec-source.xsl	31 Jul 2009 08:34:42 -0000	1.193
@@ -54,8 +54,14 @@
           <xsl:text>&#10;        </xsl:text>
           <section id="elements">
             <xsl:text>&#10;        </xsl:text>
-            <h2>Elements</h2>
+            <h2>HTML elements</h2>
             <!-- * make the Elements section -->
+            <p>The complete set of
+              <dfn
+                id="html-elements"
+                title="html-elements">HTML elements</dfn>
+              is the set of elements described in the following
+              sections.</p>
             <div class="toc"/>
             <xsl:apply-templates select="descendant::*[local-name() = 'element'][@name]">
               <xsl:sort select="@name"/>

Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/specgen.xsl,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- specgen.xsl	20 Jul 2009 14:56:54 -0000	1.36
+++ specgen.xsl	31 Jul 2009 08:34:43 -0000	1.37
@@ -575,11 +575,29 @@
           |key('id',$href)/ancestor::h:section[(count(ancestor::h:section)=0 and not(@id='elements'))]
           "/>
         <xsl:choose>
+          <xsl:when test="$href='syntax'">
+            <a>
+              <xsl:copy-of select="@*"/>
+              <xsl:attribute name="href">
+                <xsl:text>syntax.html</xsl:text>
+              </xsl:attribute>
+              <xsl:apply-templates/>
+            </a>
+          </xsl:when>
           <xsl:when test="$href='elements'">
             <a>
               <xsl:copy-of select="@*"/>
               <xsl:attribute name="href">
-                <xsl:text>elements.html#elements</xsl:text>
+                <xsl:text>elements.html</xsl:text>
+              </xsl:attribute>
+              <xsl:apply-templates/>
+            </a>
+          </xsl:when>
+          <xsl:when test="$href='html-elements'">
+            <a>
+              <xsl:copy-of select="@*"/>
+              <xsl:attribute name="href">
+                <xsl:text>elements.html#html-elements</xsl:text>
               </xsl:attribute>
               <xsl:apply-templates/>
             </a>

Received on Friday, 31 July 2009 08:34:55 UTC