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

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

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 08 May 2011 02:55:34 +0000
To: public-html-commits@w3.org
Message-Id: <E1QIu9e-00030z-E3@lionel-hutz.w3.org>
Update of /sources/public/html5/spec-author-view/tools
In directory hutz:/tmp/cvs-serv11433/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.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- preprocess.xsl	7 May 2011 14:49:20 -0000	1.18
+++ preprocess.xsl	8 May 2011 02:55:32 -0000	1.19
@@ -135,5 +135,76 @@
       <xsl:copy-of select="node()"/>
     </dfn>
   </xsl:template>
+  <xsl:template match="*[@id = 'the-root-element']">
+    <xsl:copy-of select="."/>
+    <p>The <a href="#the-html-element">html</a> element.</p>
+  </xsl:template>
+  <xsl:template match="*[@id = 'section']">
+    <xsl:copy-of select="."/>
+    <p>The
+      <a href="#the-body-element">body</a>,
+      <a href="#the-section-element">section</a>,
+      <a href="#the-nav-element">nav</a>,
+      <a href="#the-article-element">article</a>,
+      <a href="#the-aside-element">aside</a>,
+      <a href="#the-h1-h2-h3-h4-h5-and-h6-element">h1, h2, h3, h4, h5, h6</a>,
+      <a href="#the-hgroup-element">hgroup</a>,
+      <a href="#the-header-element">header</a>,
+      <a href="#the-footer-element">footer</a>,
+      and
+      <a href="#the-address-element">address</a>,
+      elements.</p>
+  </xsl:template>
+  <xsl:template match="*[@id = 'section']">
+    <xsl:copy-of select="."/>
+    <p>The
+      <a href="#the-p-element">p</a>,
+      <a href="#the-hr-element">hr</a>,
+      <a href="#the-pre-element">pre</a>,
+      <a href="#the-blockquote-element">blockquote</a>,
+      <a href="#the-ol-element">ol</a>,
+      <a href="#the-ul-element">ul</a>,
+      <a href="#the-li-element">li</a>,
+      <a href="#the-dl-element">dl</a>,
+      <a href="#the-dt-element">dt</a>,
+      <a href="#the-dd-element">dd</a>,
+      <a href="#the-figure-element">figure</a>,
+      <a href="#the-figcaption-element">figcaption</a>,
+      and
+      <a href="#the-div-element">div</a>,
+      elements.</p>
+  </xsl:template>
+  <xsl:template match="*[@id = 'section']">
+    <xsl:copy-of select="."/>
+    <p>The
+      <a href="#the-a-element">a</a>,
+      <a href="#the-em-element">em</a>,
+      <a href="#the-strong-element">strong</a>,
+      <a href="#the-small-element">small</a>,
+      <a href="#the-s-element">s</a>,
+      <a href="#the-cite-element">cite</a>,
+      <a href="#the-q-element">q</a>,
+      <a href="#the-dfn-element">dfn</a>,
+      <a href="#the-abbr-element">abbr</a>,
+      <a href="#the-time-element">time</a>,
+      <a href="#the-code-element">code</a>,
+      <a href="#the-var-element">figure</a>,
+      <a href="#the-samp-element">samp</a>,
+      <a href="#the-kbd-element">kbd</a>,
+      <a href="#the-sub-and-sup-elements">sub, sup</a>,
+      <a href="#the-i-element">i</a>,
+      <a href="#the-b-element">b</a>,
+      <a href="#the-u-element">u</a>,
+      <a href="#the-mark-element">mark</a>,
+      <a href="#the-ruby-element">ruby</a>,
+      <a href="#the-rt-element">rt</a>,
+      <a href="#the-rp-element">rp</a>,
+      <a href="#the-bdi-element">bdi</a>,
+      <a href="#the-bdo-element">bdo</a>,
+      <a href="#the-span-element">span</a>,
+      <a href="#the-br-element">br</a>,
+      and
+      <a href="#the-wbr-element">wbr</a>,
+      elements.</p>
   <xsl:template match="link[@href[starts-with(.,'data:text/css')]]"/>
 </xsl:stylesheet>
Received on Sunday, 8 May 2011 02:55:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 8 May 2011 03:01:36 GMT