- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Thu, 21 Apr 2011 13:21:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv16746/tools
Modified Files:
postprocess.xsl
Log Message:
updated
Index: postprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/postprocess.xsl,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- postprocess.xsl 21 Apr 2011 12:59:37 -0000 1.10
+++ postprocess.xsl 21 Apr 2011 13:21:26 -0000 1.11
@@ -15,11 +15,9 @@
<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))">
+ <xsl:when test="key('local-frags',$ref)">
<li>
- <xsl:for-each select="a">
- <xsl:call-template name="check-full-spec-link"/>
- </xsl:for-each>
+ <xsl:apply-templates/>
</li>
</xsl:when>
</xsl:choose>
Received on Thursday, 21 April 2011 13:21:30 UTC