- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Sat, 02 Jul 2011 13:07:33 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv31727/tools
Modified Files:
preprocess.xsl
Log Message:
Attempt to reorganise the rendering section to make it more usable for implementors (whatwg r6276)
[updated by splitter]
Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- preprocess.xsl 2 Jul 2011 11:16:15 -0000 1.87
+++ preprocess.xsl 2 Jul 2011 13:07:30 -0000 1.88
@@ -221,10 +221,7 @@
<xsl:text> </xsl:text>
</xsl:template>
<xsl:template match="h1">
- <h1>
- <xsl:text>HTML5</xsl:text>
- </h1>
- <h2>Edition for Web Authors</h2>
+ <h1>HTML5: Edition for Web Authors</h1>
</xsl:template>
<xsl:template match="*[@id = 'a-vocabulary-and-associated-apis-for-html-and-xhtml']"/>
<xsl:template match="title">
@@ -236,8 +233,10 @@
<xsl:template match="a[normalize-space(.)='http://www.w3.org/TR/html5/']">
<a href="http://www.w3.org/TR/html5/author/">http://www.w3.org/TR/html5-author/</a>
</xsl:template>
- <xsl:template match="dt[. = 'Previous Versions']"/>
- <xsl:template match="dd[preceding-sibling::dt[1][. ='Previous Versions']]"/>
+ <xsl:template match="dt[. = 'Previous Versions:']"/>
+ <xsl:template match="dd[preceding-sibling::dt[1][. ='Previous Versions:']]"/>
+ <xsl:template match="dt[. = 'Real-time notifications of changes:']"/>
+ <xsl:template match="dd[preceding-sibling::dt[1][. ='Real-time notifications of changes:']]"/>
<xsl:template match="a[normalize-space(.)='http://dev.w3.org/html5/spec/Overview.html']">
<a href="http://dev.w3.org/html5/spec-author-view/">http://dev.w3.org/html5/spec-author-view/</a>
</xsl:template>
@@ -266,6 +265,7 @@
</xsl:template>
<xsl:template match="h2[@id='abstract']">
<xsl:text> </xsl:text>
+ <xsl:copy-of select="."/>
<p>This document is a strict subset of
the
<a href="http://dev.w3.org/html5/spec/">HTML5 specification</a>
@@ -286,7 +286,8 @@
specification takes precedence. Readers are encouraged to report such
discrepancies as bugs in the bug tracking system of the HTML Working
Group.</p>
- </xsl:template>
+ </xsl:template>
+ <xsl:template match="p[preceding-sibling::*[1][@id='abstract']]"/>
<xsl:template match="p[@id='wip']"/>
<xsl:template match="*[@id='references']" name="insert-index-of-terms">
<xsl:text> </xsl:text>
Received on Saturday, 2 July 2011 13:07:38 UTC