W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2011

html5/spec-author-view/tools preprocess.xsl,1.85,1.86

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Sat, 02 Jul 2011 10:55:25 +0000
To: public-html-commits@w3.org
Message-Id: <E1QcxrB-0004ts-3K@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv18794/tools

Modified Files:
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.85
retrieving revision 1.86
diff -u -d -r1.85 -r1.86
--- preprocess.xsl	2 Jul 2011 07:08:24 -0000	1.85
+++ preprocess.xsl	2 Jul 2011 10:55:23 -0000	1.86
@@ -1,5 +1,5 @@
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
-  xmlns:h="http://www.w3.org/1999/xhtml"
+  mlns:h="http://www.w3.org/1999/xhtml"
   <xsl:param name="RCSREVISION"/>
@@ -225,13 +225,8 @@
   <xsl:template match="h1">
-      <xsl:text> </xsl:text>
-      <span class="edition">Edition for Web Authors</span>
-      <xsl:text> </xsl:text>
-      <span class="rcsrevision">
-        <xsl:value-of select="concat('revision ',$RCSREVISION)"/>
-      </span>
+    <h2>Edition for Web Authors</h2>
   <xsl:template match="*[@id = 'a-vocabulary-and-associated-apis-for-html-and-xhtml']"/>
   <xsl:template match="title">
@@ -241,11 +236,12 @@
   <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>
+    <a href="http://www.w3.org/TR/html5/author/">http://www.w3.org/TR/html5-author/</a>
+  <xsl:template match="dt[. = 'Previous Versions']"/>
+  <xsl:template match="dd[preceding-sibling::dt[1][. ='Previous Versions']]"/>
   <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>
+    <a href="http://dev.w3.org/html5/spec-author-view/">http://dev.w3.org/html5/spec-author-view/</a>
   <xsl:template match="a[starts-with(normalize-space(.),'http://www.w3.org/TR/2010/WD-html5-201')]
@@ -271,21 +267,28 @@
   <xsl:template match="h2[@id='abstract']">
-    <xsl:copy-of select="."/>
-    <p class="strong-note">This document is a strict subset of
+    <p>This document is a strict subset of
       <a href="http://dev.w3.org/html5/spec/">HTML5 specification</a>
       that omits user-agent (UA) implementation details. It is
       targeted toward Web authors and others who are not UA
-      implementors and who want an informational view of the HTML
+      implementors and who want a view of the HTML
       specification that focuses more precisely on details relevant to
       using the HTML language to create Web documents and Web applications.
       Because this document does not provide implementation conformance
       criteria, UA implementors should not rely on it, but should instead
       refer to the
       <a href="http://dev.w3.org/html5/spec/">full HTML5 specification</a>.</p>
-  </xsl:template>
+    <p>This document is an automated redaction of the full HTML5
+      <a href="http://dev.w3.org/html5/spec/">full HTML5 specification</a>.
+      As such, the two documents are supposed to agree on normative matters
+      concerning Web authors. However, if the documents disagree, this is a
+      bug in the redaction process and the unredacted full HTML
+      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 match="p[@id='wip']"/>
   <xsl:template match="*[@id='references']" name="insert-index-of-terms">
Received on Saturday, 2 July 2011 10:55:26 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:10:47 UTC