html5/spec-author-view/tools postprocess.xsl,1.18,1.19 preprocess.xsl,1.91,1.92

Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv12324/tools

Modified Files:
	postprocess.xsl preprocess.xsl 
Log Message:
updated

[updated by splitter]


Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -d -r1.91 -r1.92
--- preprocess.xsl	4 Jul 2011 08:57:31 -0000	1.91
+++ preprocess.xsl	5 Jul 2011 06:11:59 -0000	1.92
@@ -12,7 +12,11 @@
   <xsl:template match="head">
     <head>
       <xsl:apply-templates/>
+      <xsl:text>&#10;</xsl:text>
       <script src="dfn.js" type="text/javascript"></script>
+      <xsl:text>&#10;</xsl:text>
+      <script src="toc.js" type="text/javascript"></script>
+      <xsl:text>&#10;</xsl:text>
     </head>
   </xsl:template>
   <!--
@@ -213,10 +217,11 @@
   </xsl:template>
   <xsl:template match="style[contains(.,'.domintro:before')]"/>
   <xsl:template match="link[starts-with(@href,'http://www.w3.org/StyleSheets/TR/')][last()]">
-    <xsl:copy-of select="."/>
     <xsl:text>&#10;</xsl:text>
     <link href="style.css" rel="stylesheet"/>
     <xsl:text>&#10;</xsl:text>
+    <xsl:copy-of select="."/>
+    <xsl:text>&#10;</xsl:text>
     <script src="link-fixup.js" type="text/javascript"></script>
     <xsl:text>&#10;</xsl:text>
   </xsl:template>
@@ -225,20 +230,23 @@
   </xsl:template>
   <xsl:template match="*[@id = 'a-vocabulary-and-associated-apis-for-html-and-xhtml']"/>
   <xsl:template match="title">
-    <title>HTML5 (Edition for Web Authors)</title>
+    <title>HTML5: Edition for Web Authors</title>
     <xsl:text>&#10;</xsl:text>
     <meta name="viewport" content="width=device-width;"/>
     <xsl:text>&#10;</xsl:text>
   </xsl:template>
   <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>
   <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>
+    <!--
+         <a href="http://dev.w3.org/html5/spec-author-view/">http://dev.w3.org/html5/spec-author-view/</a>
+         -->
+    <a href="http://www.w3.org/TR/2011/WD-html5-author-20110707/">http://www.w3.org/TR/2011/WD-html5-author-20110707/</a>
   </xsl:template>
   <!--
   <xsl:template match="a[starts-with(normalize-space(.),'http://www.w3.org/TR/2010/WD-html5-201')]
@@ -257,7 +265,10 @@
       <xsl:text>, </xsl:text>
       <a href="Overview.html">multipage HTML</a>
       <xsl:text>, </xsl:text>
+      <!--
       <a href="http://dev.w3.org/html5/spec/">full specification</a>.
+      -->
+      <a href="http://www.w3.org/TR/html5/">full specification</a>.
       <xsl:text>This is revision </xsl:text>
       <xsl:value-of select="$RCSREVISION"/>
       <xsl:text>.</xsl:text>
@@ -268,7 +279,10 @@
     <xsl:copy-of select="."/>
     <p>This document is a strict subset of
       the
-      <a href="http://dev.w3.org/html5/spec/">HTML5 specification</a>
+      <!--
+      <a href="http://dev.w3.org/html5/spec/">full HTML5 specification</a>
+      -->
+      <a href="http://www.w3.org/TR/html5/">full 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 a view of the HTML
@@ -277,9 +291,15 @@
       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>
+      -->
+      <a href="http://www.w3.org/TR/html5/">full HTML5 specification</a>.</p>
     <p>This document is an automated redaction of the full HTML5
+      <!--
       <a href="http://dev.w3.org/html5/spec/">full HTML5 specification</a>.
+      -->
+      <a href="http://www.w3.org/TR/html5/">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

Index: postprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/postprocess.xsl,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- postprocess.xsl	23 Apr 2011 01:54:18 -0000	1.18
+++ postprocess.xsl	5 Jul 2011 06:11:59 -0000	1.19
@@ -38,7 +38,10 @@
         <a>
           <xsl:copy-of select="@*"/>
           <xsl:attribute name="href">
+            <!--
             <xsl:value-of select="concat('http://dev.w3.org/html5/spec/',$filename,'.html',$ref)"/>
+            -->
+            <xsl:value-of select="concat('http://www.w3.org/TR/2011/WD-html5-20110525/',$filename,'.html',$ref)"/>
           </xsl:attribute>
           <xsl:attribute name="class">full-spec-link</xsl:attribute>
           <xsl:attribute name="title">

Received on Tuesday, 5 July 2011 06:12:07 UTC