- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 Jan 2010 00:19:23 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools
In directory hutz:/tmp/cvs-serv31812/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.210
retrieving revision 1.211
diff -u -d -r1.210 -r1.211
--- generate-spec-source.xsl 29 Jan 2010 00:09:12 -0000 1.210
+++ generate-spec-source.xsl 29 Jan 2010 00:19:21 -0000 1.211
@@ -1272,9 +1272,12 @@
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
- <xsl:element name="{$wrapper}">
- <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='prose-model']"/>
- </xsl:element>
+ <xsl:if
+ test="document(concat('../elements/',$name,'.html'))//h:div[@id='prose-model']">
+ <div class="prose-model">
+ <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='prose-model']/*"/>
+ </div>
+ </xsl:if>
<xsl:text> </xsl:text>
<xsl:element name="{$wrapper}">
<xsl:attribute name="id">
Received on Friday, 29 January 2010 00:19:24 UTC