- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 15 Jun 2009 13:20:27 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv23251/tools Modified Files: generate-spec-source.xsl Log Message: h:tml; fixed problem that was preventing attribute descriptions for ins and del elements from getting picked up correctly Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.174 retrieving revision 1.175 diff -u -d -r1.174 -r1.175 --- generate-spec-source.xsl 15 Jun 2009 05:57:15 -0000 1.174 +++ generate-spec-source.xsl 15 Jun 2009 13:20:25 -0000 1.175 @@ -2057,30 +2057,6 @@ </xsl:for-each> </span> </xsl:when> - <xsl:when test="@id = 'ins.attrs' - or @id = 'del.attrs'"> - <span class="pattern" id="{@id}"> - <xsl:variable name="ancestor" - select="substring-before(ancestor::*[@class = 'define']/@id,'.')"/> - <xsl:for-each select="node()"> - <xsl:choose> - <xsl:when test="starts-with(self::*/@href,'#edit.attrs')"> - <xsl:variable name="ref" select="substring-after(@href,'#')"/> - <xsl:copy> - <xsl:attribute name='class'>ref</xsl:attribute> - <xsl:attribute name='href'> - <xsl:value-of select="concat('#',$ancestor,'-',$ref)"/> - </xsl:attribute> - <xsl:copy-of select="node()"/> - </xsl:copy> - </xsl:when> - <xsl:otherwise> - <xsl:copy-of select="."/> - </xsl:otherwise> - </xsl:choose> - </xsl:for-each> - </span> - </xsl:when> <xsl:otherwise> <xsl:copy-of select="."/> </xsl:otherwise> @@ -2265,7 +2241,6 @@ <xsl:choose> <xsl:when test="not(preceding::*[@href=$href]) - or starts-with($href,'#edit.attrs') or starts-with($href,'#aria-') or $href='#tables.attrs.headers' or $href='#common-form.attrs.form' @@ -2336,19 +2311,6 @@ <xsl:copy-of select="node()"/> </a> </xsl:when> - <xsl:when test="starts-with($ref,'edit.attrs')"> - <xsl:variable name="ancestor" - select="substring-before(ancestor::*[@class = 'define']/@id,'.')"/> - <xsl:variable name="mod-ref"> - <xsl:value-of select="concat($ancestor,'-',substring-after($href,'#'))"/> - </xsl:variable> - <a class="attribute-name" - id="{$mod-ref}" - title="{$mod-ref}" - href="#{$mod-ref}"> - <xsl:copy-of select="node()"/> - </a> - </xsl:when> <xsl:otherwise> <xsl:variable name="adj-ref"> <xsl:choose>
Received on Monday, 15 June 2009 13:20:34 UTC