W3C home > Mailing lists > Public > public-html-commits@w3.org > April 2011

html5/spec-author-view/tools postprocess.xsl,1.11,1.12 preprocess.xsl,1.5,1.6

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 22 Apr 2011 02:42:13 +0000
To: public-html-commits@w3.org
Message-Id: <E1QD6Jx-0003CL-0x@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv12138/tools

Modified Files:
	postprocess.xsl preprocess.xsl 
Log Message:
checkpointing

Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- preprocess.xsl	5 Dec 2010 12:23:45 -0000	1.5
+++ preprocess.xsl	22 Apr 2011 02:42:10 -0000	1.6
@@ -97,6 +97,13 @@
     <xsl:copy-of select="."/>
     <xsl:text>&#10;</xsl:text>
   </xsl:template>
+  <xsl:template match="ol[@class = 'toc']//li[child::a[@href ='#references']]">
+    <xsl:text>&#10;</xsl:text>
+    <li><a class="no-num" href="#index-of-terms">Index of terms</a></li>
+    <xsl:text>&#10;</xsl:text>
+    <li><a class="no-num" href="#references">References</a></li>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:template>
   <xsl:template match="//script[1]">
     <xsl:text>&#10;</xsl:text>
     <xsl:copy-of select="document('../script.xml')"/>

Index: postprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/postprocess.xsl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- postprocess.xsl	21 Apr 2011 13:21:26 -0000	1.11
+++ postprocess.xsl	22 Apr 2011 02:42:09 -0000	1.12
@@ -53,6 +53,7 @@
       </xsl:otherwise>
     </xsl:choose>
   </xsl:template>
+  <xsl:template match="h2[@id = 'index-of-terms']//dd[child::a = 'Table of Contents']"/>
   <xsl:template name="get-filename">
     <xsl:param name="ref"/>
     <xsl:for-each select="document('../fragment-links.xhtml')">
Received on Friday, 22 April 2011 02:42:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 April 2011 02:44:54 GMT