- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 28 Jan 2010 22:56:37 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv19384/tools Modified Files: generate-spec-source.xsl Log Message: experiment with prose content model Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.206 retrieving revision 1.207 diff -u -d -r1.206 -r1.207 --- generate-spec-source.xsl 28 Jan 2010 22:42:17 -0000 1.206 +++ generate-spec-source.xsl 28 Jan 2010 22:56:34 -0000 1.207 @@ -1245,7 +1245,7 @@ <xsl:template name="make.content.models.section"> <xsl:param name="name"/> <xsl:param name="name-dot" select="concat($name, '.')"/> - <div class="no-number no-toc" id="{$name}-content"> + <div class="no-number no-toc content-models" id="{$name}-content"> <xsl:text> </xsl:text> <h2 class="element-subhead">Content model</h2> <xsl:text> </xsl:text> @@ -1272,7 +1272,6 @@ </xsl:choose> </xsl:variable> <xsl:element name="{$wrapper}"> - <xsl:attribute name="class">content-models</xsl:attribute> <xsl:attribute name="id"> <xsl:value-of select="concat($name,'-mdls')"/> </xsl:attribute> @@ -1328,10 +1327,9 @@ <xsl:text> </xsl:text> </xsl:element> <xsl:text> </xsl:text> - <xsl:message> - <xsl:value-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='prose-model']"/> - </xsl:message> - <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='prose-model']"/> + <xsl:element name="{$wrapper}"> + <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='prose-model']"/> + </xsl:element> <xsl:text> </xsl:text> </div> </xsl:template>
Received on Thursday, 28 January 2010 22:56:38 UTC