html5/spec-author-view/tools preprocess.xsl,1.26,1.27

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

Modified Files:
	preprocess.xsl 
Log Message:
Looks like whitespace stripping needs to happen to non-keywords too. (whatwg r6123)

[updated by splitter]


Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- preprocess.xsl	9 May 2011 04:30:43 -0000	1.26
+++ preprocess.xsl	9 May 2011 04:56:28 -0000	1.27
@@ -13,6 +13,9 @@
   </xsl:template>
   <xsl:template match="*[@id = 'head']">
 <xsl:text>&#10;</xsl:text>
+    <div>
+      <xsl:copy-of select="@*"/>
+<xsl:text>&#10;</xsl:text>
 <div id="jumpIndexA-button" role="button" aria-haspopup="true" tabindex="0">jump
 <div id="jumpIndexA">
 <p>
@@ -162,7 +165,8 @@
 <xsl:text>&#10;</xsl:text>
 <script src="jump-indexes.js"></script>
 <xsl:text>&#10;</xsl:text>
-<xsl:copy-of select="."/>
+<xsl:copy-of select="node()"/>
+</div>
   </xsl:template>
   <xsl:template match="style[1]">
     <xsl:text>&#10;</xsl:text>

Received on Monday, 9 May 2011 04:56:33 UTC