- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 12 Jul 2010 17:34:59 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv26285/tools Modified Files: generate-spec-source.xsl Log Message: for "changed" elements, make it more clear what exactly the changes has been Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.263 retrieving revision 1.264 diff -u -d -r1.263 -r1.264 --- generate-spec-source.xsl 12 Jul 2010 14:16:43 -0000 1.263 +++ generate-spec-source.xsl 12 Jul 2010 17:34:57 -0000 1.264 @@ -1303,6 +1303,12 @@ <xsl:with-param name="name" select="$name"/> </xsl:call-template> <!-- * ***************************************************************** --> + <!-- * * MAKE "CHANGES" SECTION --> + <!-- * ***************************************************************** --> + <xsl:call-template name="make.changes.section"> + <xsl:with-param name="name" select="$name"/> + </xsl:call-template> + <!-- * ***************************************************************** --> <!-- * * MAKE "DETAILS" SECTION --> <!-- * ***************************************************************** --> <xsl:call-template name="make.details.section"> @@ -1907,6 +1913,24 @@ </xsl:template> <!-- * ***************************************************************** --> + <!-- * * MAKE THE "CHANGES" SECTION --> + <!-- * ***************************************************************** --> + <xsl:template name="make.changes.section"> + <xsl:param name="name"/> + <xsl:if + test="document(concat('../elements/',$name,'.html'))//h:div[@id='changes']"> + <xsl:text> </xsl:text> + <div class="no-number no-toc" id="{$name}-changes"> + <xsl:text> </xsl:text> + <h2 class="element-subhead">Changes in HTML5</h2> + <div class="changes"> + <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='changes']/node()"/> + </div> + </div> + </xsl:if> + </xsl:template> + + <!-- * ***************************************************************** --> <!-- * * MAKE THE "DETAILS" SECTION --> <!-- * ***************************************************************** --> <xsl:template name="make.details.section">
Received on Monday, 12 July 2010 17:35:02 UTC