html5/markup/tools specgen.xsl,1.84,1.85

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

Modified Files:
	specgen.xsl 
Log Message:
minor build/style diddling


Index: specgen.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/specgen.xsl,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- specgen.xsl	9 Aug 2010 01:03:43 -0000	1.84
+++ specgen.xsl	9 Aug 2010 08:21:44 -0000	1.85
@@ -14,19 +14,19 @@
   <xsl:param name="site">W3C</xsl:param>
   <xsl:param name="chunk" select="0"/>
   <xsl:param name="TOC-file"/>
-  <xsl:param name="toc-link" select="concat($TOC-file,'#unexpanded-toc')"/>
+  <xsl:param name="toc-link" select="concat($TOC-file,'#toc')"/>
   <xsl:param name="aria" select="0"/>
   <xsl:key name="elements" match="*" use="@id"/>
   <xsl:key name="dfn" match="h:dfn" use="substring-after(@id,string-length(@id))"/>
   <xsl:key name="refs" match="h:a[starts-with(@href,'#')]" use="substring-after(@href,'#')"/>
   <xsl:key name="chunk" match="*[@id='elements']/h:section
     |//h:section[count(ancestor::h:section)=0]
-    [not(@id='abstract')][not(@id='status')][not(@id='toc')]" use="@id"/>
+    [not(@id='abstract')][not(@id='status')][not(@id='toc-full')]" use="@id"/>
   <xsl:variable name='sectionsID'>this_sections</xsl:variable>
   <xsl:variable name='appendicesID'>appendices</xsl:variable>
   <xsl:variable name='id' select='/*/h:head/h:meta[@name="revision"]/@content'/>
   <xsl:variable name='rev' select='substring-before(substring-after(substring-after($id, " "), " "), " ")'/>
-  <xsl:variable name='toc-marker' select='key("elements","toc")[1]'/>
+  <xsl:variable name='toc-marker' select='key("elements","toc-full")[1]'/>
   <xsl:variable name='info' select="key('elements','info')"/>
   <xsl:variable name="maturity" select="key('elements','maturity')"/>
   <xsl:variable name="normativity" select="key('elements','normativity')"/>
@@ -69,7 +69,7 @@
       <xsl:if test="not($chunk=0)">
         <link rel="next" href="intro.html" title="intro"/>
         <link rel="index" href="index.html"/>
-        <link rel="contents" href="Overview.html#unexpanded-toc"/>
+        <link rel="contents" href="Overview.html#toc"/>
       </xsl:if>
       <xsl:if test="$site='whatwg'">
         <style>
@@ -758,14 +758,13 @@
       <xsl:text> </xsl:text>
       <xsl:if test='not(../@id = "abstract")
         and not(../@id="status")
-        and not(../@id="unexpanded-toc")
+        and not(../@id="toc-full")
         '>
         <a class="hash" href="#{$myid}">#</a>
       </xsl:if>
       <xsl:if test='not(../@id = "abstract")
         and not(../@id="status")
-        and not(../@id="unexpanded-toc")
-        and not(../@id="toc")
+        and not(../@id="toc-full")
         and not(parent::h:*[contains(@class,"no-toc")])'>
         <xsl:text> </xsl:text>
         <xsl:choose>
@@ -1170,12 +1169,12 @@
       <xsl:text>&#10;</xsl:text>
       <xsl:apply-templates select='node()'/>
       <xsl:choose>
-        <xsl:when test="@id='unexpanded-toc'">
+        <xsl:when test="@id='toc'">
           <xsl:call-template name="toc">
             <xsl:with-param name="unexpanded" select="1"/>
           </xsl:call-template>
         </xsl:when>
-        <xsl:when test="@id='toc'">
+        <xsl:when test="@id='toc-full'">
           <xsl:call-template name="toc"/>
         </xsl:when>
         <xsl:otherwise>

Received on Monday, 9 August 2010 08:21:48 UTC