- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 08 Jul 2010 20:22:55 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv19761/tools
Modified Files:
generate-spec-source.xsl
Log Message:
added "RDFa evaluation context" subsection for <base>, <html>, and <body> elements; not sure that is the best title for the section, but could not think of a better one...
Index: generate-spec-source.xsl
===================================================================
RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v
retrieving revision 1.260
retrieving revision 1.261
diff -u -d -r1.260 -r1.261
--- generate-spec-source.xsl 7 Jul 2010 01:11:52 -0000 1.260
+++ generate-spec-source.xsl 8 Jul 2010 20:22:53 -0000 1.261
@@ -1297,6 +1297,12 @@
</xsl:call-template>
<xsl:text> </xsl:text>
<!-- * ***************************************************************** -->
+ <!-- * * MAKE "RDFa" SECTION -->
+ <!-- * ***************************************************************** -->
+ <xsl:call-template name="make.rdfa.section">
+ <xsl:with-param name="name" select="$name"/>
+ </xsl:call-template>
+ <!-- * ***************************************************************** -->
<!-- * * MAKE "MICRODATA PROPERTY VALUE" SECTION -->
<!-- * ***************************************************************** -->
<xsl:call-template name="make.microdata.section">
@@ -1695,6 +1701,20 @@
</xsl:template>
<!-- * ***************************************************************** -->
+ <!-- * * MAKE THE "RDFa" SECTION -->
+ <!-- * ***************************************************************** -->
+ <xsl:template name="make.rdfa.section">
+ <xsl:param name="name"/>
+ <xsl:if test="document(concat('../elements/',$name,'.html'))//h:div[@id='rdfa']">
+ <div class="no-number no-toc rdfa" id="{$name}-rdfa">
+ <xsl:text> </xsl:text>
+ <h2 class="element-subhead">RDFa evaluation context</h2>
+ <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='rdfa']"/>
+ </div>
+ </xsl:if>
+ </xsl:template>
+
+ <!-- * ***************************************************************** -->
<!-- * * MAKE THE "MICRODATA PROPERTY VALUE" SECTION -->
<!-- * ***************************************************************** -->
<xsl:template name="make.microdata.section">
Received on Thursday, 8 July 2010 20:22:57 UTC