- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 04 Feb 2010 18:10:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv29545/tools
Modified Files:
generate-spec-source.xsl
Log Message:
checkpointing
Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.229
retrieving revision 1.230
diff -u -d -r1.229 -r1.230
--- generate-spec-source.xsl 4 Feb 2010 15:09:23 -0000 1.229
+++ generate-spec-source.xsl 4 Feb 2010 18:10:52 -0000 1.230
@@ -1327,7 +1327,7 @@
<xsl:text> </xsl:text>
<xsl:variable name="count">
<xsl:choose>
- <xsl:when test="$name='li'">3</xsl:when>
+ <xsl:when test="$name='li'">1</xsl:when>
<xsl:otherwise>
<xsl:value-of
select="count(document($rnc-html)//*[@id=$name
@@ -1378,8 +1378,6 @@
<xsl:for-each
select="document($rnc-html)//*[
@id='li'
- or @id='mli'
- or @id='oli'
]/*[@class = 'model']">
<xsl:variable name="pname" select="../@id"/>
<xsl:call-template name="make.content.model">
@@ -1865,11 +1863,6 @@
<p>
<a href="#common-attributes">common attributes</a>
<span class="postfix optional">?</span>
- </p>
- <span class="postfix or">or</span>
- <p>
- <a href="#common-attributes">common attributes</a>
- <span class="postfix optional">?</span>
<xsl:text> </xsl:text>
<span class="postfix &">&</span>
<xsl:text> </xsl:text>
@@ -2507,38 +2500,6 @@
</xsl:choose>
</xsl:for-each>
</xsl:when>
- <xsl:when test="$ref = 'ol.inner'">
- <xsl:for-each select="//*[@id='ol.inner']/node()">
- <xsl:choose>
- <xsl:when test=".='oli'">
- <a>
- <xsl:copy-of select="@*"/>
- <xsl:text>li</xsl:text>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:copy-of select="."/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- </xsl:when>
- <xsl:when test="$ref = 'menu.inner'">
- <xsl:text>(</xsl:text>
- <xsl:for-each select="//*[@id='menu.inner']/node()">
- <xsl:choose>
- <xsl:when test=".='mli'">
- <a>
- <xsl:copy-of select="@*"/>
- <xsl:text>li</xsl:text>
- </a>
- </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="garnish.as.needed"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:for-each>
- <xsl:text>)</xsl:text>
- </xsl:when>
<xsl:when test="$ref = 'option'">
<xsl:copy-of select="."/>
</xsl:when>
@@ -2577,6 +2538,12 @@
</xsl:for-each>
</span>
</xsl:when>
+ <xsl:when test="@href = '#mli'">
+ <a href="#li">li</a>
+ </xsl:when>
+ <xsl:when test="@href = '#oli'">
+ <a href="#li">li</a>
+ </xsl:when>
<xsl:when test="@href = '#common.inner.flow'">
<a href="#flow-content">flow content</a>
</xsl:when>
Received on Thursday, 4 February 2010 18:10:59 UTC