- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 Jan 2010 02:51:42 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/markup/tools In directory hutz:/tmp/cvs-serv17047/tools Modified Files: generate-spec-source.xsl Log Message: prose model Index: generate-spec-source.xsl =================================================================== RCS file: /sources/public/html5/markup/tools/generate-spec-source.xsl,v retrieving revision 1.215 retrieving revision 1.216 diff -u -d -r1.215 -r1.216 --- generate-spec-source.xsl 29 Jan 2010 02:30:55 -0000 1.215 +++ generate-spec-source.xsl 29 Jan 2010 02:51:40 -0000 1.216 @@ -2339,6 +2339,7 @@ <xsl:choose> <xsl:when test="exsl:node-set($assertions)/s:rule[child::s:context = $short-name] + |document(concat('../elements/',$name,'.html'))//h:*[@id='constraints'] "> <xsl:text> </xsl:text> <div class="no-number no-toc" id="{$name}-constraints"> @@ -2346,12 +2347,9 @@ <h2 class="element-subhead">Additional constraints and admonitions</h2> <xsl:text> </xsl:text> <ul class="assertions"> + <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:*[@id='constraints']/node()"/> <!-- * FIXME: the below doesn't handle expressions that --> <!-- * contain more than one element name --> - <xsl:if - test="document(concat('../elements/',$name,'.html'))//h:*[@id='constraints']"> - <xsl:copy-of select="document(concat('../elements/',$name,'.html'))//h:div[@id='constraints']/node()"/> - </xsl:if> <xsl:for-each select="exsl:node-set($assertions)/s:rule[child::s:context = $short-name]"> <xsl:text> </xsl:text>
Received on Friday, 29 January 2010 02:51:44 UTC