- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 21 Apr 2011 12:59:40 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools In directory hutz:/tmp/cvs-serv11667/tools Modified Files: postprocess.xsl Log Message: Clarify that <video> and <audio> can both be used for both audio and video. (whatwg r6020) [updated by splitter] Index: postprocess.xsl =================================================================== RCS file: /sources/public/html5/spec-author-view/tools/postprocess.xsl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- postprocess.xsl 20 Apr 2011 17:12:23 -0000 1.9 +++ postprocess.xsl 21 Apr 2011 12:59:37 -0000 1.10 @@ -12,11 +12,22 @@ <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template> - <xsl:template match="a[@href[starts-with(.,'#')]]"> + <xsl:template match="ol[@class = 'toc']//li[child::a[@href[starts-with(.,'#')]]]"> + <xsl:variable name="ref" select="a/@href"/> + <xsl:choose> + <xsl:when test="not(key('local-frags',$ref))"> + <li> + <xsl:for-each select="a"> + <xsl:call-template name="check-full-spec-link"/> + </xsl:for-each> + </li> + </xsl:when> + </xsl:choose> + </xsl:template> + <xsl:template match="a[@href[starts-with(.,'#')]]" name="check-full-spec-link"> <xsl:variable name="ref" select="@href"/> <xsl:choose> - <xsl:when test="not(key('local-frags',$ref)) and ancestor::ol[@class = 'toc' or @class='brief toc']"/> - <xsl:when test="not(key('local-frags',$ref)) and not(ancestor::ol[@class = 'toc' or @class='brief toc'])"> + <xsl:when test="not(key('local-frags',$ref))"> <!-- * <xsl:message> --> <!-- * <xsl:value-of select="$ref"/> --> <!-- * </xsl:message> -->
Received on Thursday, 21 April 2011 12:59:41 UTC