html5/markup/tools chunker.xsl,1.2,1.3 generate-spec-source.xsl,1.169,1.170 specgen.xsl,1.29,1.30 toc.xsl,1.1,1.2

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

Modified Files:
	chunker.xsl generate-spec-source.xsl specgen.xsl toc.xsl 
Log Message:
h:tml; put on-page TOCs on Elements chunk and Syntax chunk


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -d -r1.169 -r1.170
--- generate-spec-source.xsl	2 May 2009 09:24:22 -0000	1.169
+++ generate-spec-source.xsl	3 May 2009 04:20:35 -0000	1.170
@@ -55,6 +55,7 @@
             <h2>HTML elements</h2>
             <xsl:text>&#10;        </xsl:text>
             <!-- * make the Elements section -->
+            <div class="toc"/>
             <xsl:apply-templates select="descendant::*[local-name() = 'element'][@name]">
               <xsl:sort select="@name"/>
             </xsl:apply-templates>

Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/specgen.xsl,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- specgen.xsl	2 May 2009 09:24:22 -0000	1.29
+++ specgen.xsl	3 May 2009 04:20:35 -0000	1.30
@@ -596,4 +596,12 @@
       <a href="{$TOC-file}#toc">Skip to Table of Contents</a>
     </div>
   </xsl:template>
+  <xsl:template match="*[@class='toc']">
+    <div class="toc">
+      <xsl:text>&#10;</xsl:text>
+      <xsl:for-each select="..">
+        <xsl:call-template name="toc1"/>
+      </xsl:for-each>
+    </div>
+  </xsl:template>
 </xsl:stylesheet>

Index: toc.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/toc.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- toc.xsl	1 May 2009 13:53:15 -0000	1.1
+++ toc.xsl	3 May 2009 04:20:35 -0000	1.2
@@ -4,7 +4,7 @@
                 version='1.0' id='xslt'>
   <xsl:template match="h:*[@id = 'toc']">
     <xsl:text>&#10;</xsl:text>
-    <div id='toc'>
+    <div id='toc' class='toc'>
       <xsl:copy-of select='@*[namespace-uri()="" or namespace-uri="http://www.w3.org/XML/1998/namespace"]'/>
       <xsl:apply-templates select='node()'/>
       <xsl:call-template name="toc"/>

Index: chunker.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/chunker.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- chunker.xsl	2 May 2009 09:24:22 -0000	1.2
+++ chunker.xsl	3 May 2009 04:20:35 -0000	1.3
@@ -9,6 +9,7 @@
   <!-- * This stylesheet is based on code from stylesheets in the DocBook -->
   <!-- * XSL Stylesheets distribution; for details, see the -->
   <!-- * "Acknowledgements" comment at the end of this file. -->
+
   <xsl:template name="write.chunk">
     <xsl:param name="filename" select="''"/>
     <xsl:param name="quiet" select="0"/>

Received on Sunday, 3 May 2009 04:20:51 UTC