html5/spec-author-view/tools preprocess.xsl,1.46,1.47

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

Modified Files:
	preprocess.xsl 
Log Message:
Structured clone: Preserve sparse arrays and mention that non-index properties of arrays are preserved too. (whatwg r6274)

[updated by splitter]


Index: preprocess.xsl
===================================================================
RCS file: /sources/public/html5/spec-author-view/tools/preprocess.xsl,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- preprocess.xsl	28 Jun 2011 09:44:01 -0000	1.46
+++ preprocess.xsl	28 Jun 2011 10:11:15 -0000	1.47
@@ -435,6 +435,14 @@
       <a href="#the-menu-element">menu</a>
       elements.</p>
   </xsl:template>
+  <xsl:template match="pre[@class = 'idl']//a[@href[starts-with(.,'#handler-')]]">
+    <a>
+      <xsl:copy-of select="@*"/>
+      <xsl:attribute name="href">
+        <xsl:value-of select="concat('#ix', substring-after(@href, '#'))"/>
+      </xsl:attribute>
+    </a>
+  </xsl:template>
   <xsl:template match="dl[@class = 'domintro']/dt/code[@title[starts-with(.,'dom-')]]">
     <xsl:variable name="title" select="@title"/>
     <xsl:choose>

Received on Tuesday, 28 June 2011 10:11:24 UTC