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

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

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 09 May 2011 04:56:31 +0000
To: public-html-commits@w3.org
Message-Id: <E1QJIWF-0004Bz-Hy@lionel-hutz.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 May 2011 04:56:35 GMT