- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 07 May 2011 14:49:22 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools In directory hutz:/tmp/cvs-serv11529/tools Modified Files: preprocess.xsl Log Message: one page for each element Index: preprocess.xsl =================================================================== RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- preprocess.xsl 6 May 2011 04:29:44 -0000 1.17 +++ preprocess.xsl 7 May 2011 14:49:20 -0000 1.18 @@ -121,7 +121,14 @@ </xsl:template> <xsl:template match="dfn"> <dfn> - <xsl:copy-of select="@*"/> + <xsl:choose> + <xsl:when test="ancestor::h4"> + <xsl:copy-of select="@*[not(name() = 'id') and not(name() = 'title')]"/> + </xsl:when> + <xsl:otherwise> + <xsl:copy-of select="@*[not(name() = 'title')]"/> + </xsl:otherwise> + </xsl:choose> <xsl:attribute name="role">button</xsl:attribute> <xsl:attribute name="tabindex">0</xsl:attribute> <xsl:attribute name="aria-haspopup">true</xsl:attribute>
Received on Saturday, 7 May 2011 14:49:24 UTC