- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 30 Jul 2009 07:44:16 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv10562/tools
Modified Files:
generate-spec-source.xsl
Log Message:
filled in descriptions for some global attributes
Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -d -r1.190 -r1.191
--- generate-spec-source.xsl 29 Jul 2009 11:23:47 -0000 1.190
+++ generate-spec-source.xsl 30 Jul 2009 07:44:13 -0000 1.191
@@ -386,39 +386,6 @@
<xsl:text> </xsl:text>
<h2>Other shared attributes</h2>
<xsl:text> </xsl:text>
- <section id="shared-hyperlink-attrs">
- <xsl:text> </xsl:text>
- <h2>Hyperlink attributes</h2>
- <xsl:text> </xsl:text>
- <dl class="attr-defs">
- <xsl:for-each select="document('../html.rnc.spec.html')//h:span[@class='pattern']
- [starts-with(@id,'shared-hyperlink.attrs')]
- ">
- <dt>
- <xsl:variable name="shared-attr-name">
- <xsl:value-of select="h:span[@class='name']"/>
- </xsl:variable>
- <dfn class="attribute-name" id="{@id}"
- title="{@id}">
- <xsl:copy-of select="$shared-attr-name"/>
- </dfn>
- <span class="attr-values">
- <xsl:text> = </xsl:text>
- <xsl:for-each select="h:span[@class='model']/node()">
- <xsl:call-template name="process.datatype.reference"/>
- </xsl:for-each>
- </span>
- <a class="hash" href="#{@id}">#</a>
- </dt>
- <dd>
- <xsl:copy-of select="document('../src/attributes.html')//h:dd[preceding-sibling::h:dt[@id=current()/@id]]"/>
- </dd>
- </xsl:for-each>
- <xsl:text> </xsl:text>
- </dl>
- <xsl:text> </xsl:text>
- </section>
- <xsl:text> </xsl:text>
<section id="common-form-attrs">
<xsl:text> </xsl:text>
<h2>Form attributes</h2>
@@ -1971,7 +1938,6 @@
and not(starts-with(.,'media.'))
and not(starts-with(@href,'#common-form.attrs.'))
and not(starts-with(@href,'#shared-form.attrs.'))
- and not(starts-with(@href,'#shared-hyperlink.attrs.'))
and not(starts-with(@href,'#input.attrs.'))
and not(starts-with(@href,'#button.attrs.'))
and not(starts-with(@href,'#meta.attrs.'))
@@ -2100,7 +2066,6 @@
and not(@href = '#media.attrs')
and not(starts-with(@href,'#common-form.attrs.'))
and not(starts-with(@href,'#shared-form.attrs.'))
- and not(starts-with(@href,'#shared-hyperlink.attrs.'))
and not(starts-with(@href,'#input.attrs.'))
and not(starts-with(@href,'#button.attrs.'))
and not(starts-with(@href,'#meta.attrs.'))
@@ -2298,6 +2263,12 @@
test="not($name='') and document(concat('../elements/',$name,'.html'))//*[@id=$ref]">
<xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:dd[preceding-sibling::h:dt[@id=$ref]]"/>
</xsl:when>
+ <xsl:when
+ test="document('../src/attributes.html')//*[@id=$ref]">
+ <xsl:message>This: <xsl:value-of select="$ref"/></xsl:message>
+ <xsl:copy-of
+ select="document('../src/attributes.html')//h:dd[preceding-sibling::h:dt[@id=$ref]]"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:message>Missing description for:<xsl:text> </xsl:text><xsl:value-of select="$ref"/></xsl:message>
<dd><i class="TK">(detailed attribute description to come)</i></dd>
Received on Thursday, 30 July 2009 07:44:29 UTC