html5/markup/tools generate-spec-source.xsl,1.273,1.274

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

Modified Files:
	generate-spec-source.xsl 
Log Message:
checkpointing some further explorations in refining datatype documentation and HTML5 spec-linking


Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.273
retrieving revision 1.274
diff -u -d -r1.273 -r1.274
--- generate-spec-source.xsl	27 Jul 2010 06:09:47 -0000	1.273
+++ generate-spec-source.xsl	27 Jul 2010 09:23:47 -0000	1.274
@@ -572,7 +572,7 @@
                     <h2 class="common-subhead"><dfn id="{@id}">MIME type</dfn></h2>
                   </xsl:when>
                   <xsl:when test="$pattern='mimetypelist'">
-                    <h2 class="common-subhead"><dfn id="{@id}">MIME-type list</dfn></h2>
+                    <h2 class="common-subhead"><dfn id="{@id}">list of MIME types</dfn></h2>
                   </xsl:when>
                   <xsl:when test="$pattern='emailaddresslist'">
                     <h2 class="common-subhead"><dfn id="{@id}">List of e-mail addresses</dfn></h2>
@@ -610,6 +610,9 @@
                   <xsl:when test="$pattern='idrefs'">
                     <h2 class="common-subhead"><dfn id="{@id}">List of ID references</dfn></h2>
                   </xsl:when>
+                  <xsl:when test="$pattern='color'">
+                    <h2 class="common-subhead"><dfn id="{@id}">Simple color</dfn></h2>
+                  </xsl:when>
                   <xsl:otherwise>
                     <h2 class="common-subhead">
                       <dfn id="{@id}">
@@ -2467,6 +2470,15 @@
                 <xsl:when test="starts-with($href,'#body.attrs.on')">
                   <xsl:value-of select="concat('#ix-handler-window-',substring-after($href,'#body.attrs.'))"/>
                 </xsl:when>
+                <xsl:when test="starts-with($href,'#input.') and
+                  (
+                  contains($href,'.attrs.type')
+                  or
+                  contains($href,'.attrs.value')
+                  )
+                  ">
+                  <xsl:value-of select="concat('#',substring-before(substring-after($href,'#input.'),'.attrs.'),'-state')"/>
+                </xsl:when>
                 <xsl:when test="starts-with($href,'#input.')">
                   <xsl:value-of select="concat('#attr-input-',substring-after($href,'.attrs.'))"/>
                 </xsl:when>
@@ -2681,7 +2693,7 @@
                           <a href="{@href}">MIME type</a>
                         </xsl:when>
                         <xsl:when test=".='mimetypelist'">
-                          <a href="{@href}">mime-type list</a>
+                          <a href="{@href}">list of mime types</a>
                         </xsl:when>
                         <xsl:when test=".='emailaddresslist'">
                           <a href="{@href}">list of e-mail addresses</a>
@@ -2719,6 +2731,9 @@
                         <xsl:when test=".='idrefs'">
                           <a href="{@href}">list of ID references</a>
                         </xsl:when>
+                        <xsl:when test=".='color'">
+                          <a href="{@href}">simple color</a>
+                        </xsl:when>
                         <xsl:when test=".='normal-character-data'">
                           <a href="{@href}">normal character data</a>
                         </xsl:when>
@@ -3152,7 +3167,7 @@
         <a href="{@href}">MIME type</a>
       </xsl:when>
       <xsl:when test=".='mimetypelist'">
-        <a href="{@href}">mime-type list</a>
+        <a href="{@href}">list of MIME types</a>
       </xsl:when>
       <xsl:when test=".='emailaddresslist'">
         <a href="{@href}">list of e-mail addresses</a>
@@ -3190,6 +3205,9 @@
       <xsl:when test=".='idrefs'">
         <a href="{@href}">list of ID references</a>
       </xsl:when>
+      <xsl:when test=".='color'">
+        <a href="{@href}">simple color</a>
+      </xsl:when>
       <xsl:when test=".='normal-character-data'">
         <a href="{@href}">normal character data</a>
       </xsl:when>

Received on Tuesday, 27 July 2010 09:23:52 UTC