html5/spec-author-view/tools postprocess.xsl,1.4,1.5 postprocess-complete.xsl,1.3,NONE

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

Modified Files:
	postprocess.xsl 
Removed Files:
	postprocess-complete.xsl 
Log Message:
fixed stylesheet precedence


--- postprocess-complete.xsl DELETED ---

Index: postprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/postprocess.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- postprocess.xsl	12 Jul 2010 04:52:59 -0000	1.4
+++ postprocess.xsl	12 Jul 2010 06:34:50 -0000	1.5
@@ -14,14 +14,21 @@
       <xsl:apply-templates select="@* | node()"/>
     </xsl:copy>
   </xsl:template>
-  <xsl:template match="head">
-    <head>
-      <xsl:for-each select="node()"/>
-      <xsl:copy>
-        <xsl:apply-templates/>
-      </xsl:copy>
-      <link href="style.css" rel="stylesheet"/>
-    </head>
+  <xsl:template match="style[1]">
+    <xsl:text>&#10;</xsl:text>
+    <link href="whatwg.css" rel="stylesheet"/>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:copy-of select="."/>
+    <xsl:text>&#10;</xsl:text>
+  </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>
+    <script src="link-fixup.js"></script>
+    <xsl:text>&#10;</xsl:text>
   </xsl:template>
   <xsl:template match="h1">
     <h1>

Received on Monday, 12 July 2010 06:34:55 UTC