]> git.saurik.com Git - bison.git/blobdiff - data/xslt/xml2dot.xsl
tests: fix maintainer-xml-check for recent changes.
[bison.git] / data / xslt / xml2dot.xsl
index d1d2691ac908ea40c6ad0480aa7da9dde7f4d422..887a99171bf113bc209259ad2e48e590e002c03b 100644 (file)
@@ -2,9 +2,8 @@
 
 <!--
     xml2dot.xsl - transform Bison XML Report into DOT.
-    $Id$
 
-    Copyright (C) 2007 Free Software Foundation, Inc.
+    Copyright (C) 2007-2010 Free Software Foundation, Inc.
 
     This file is part of Bison, the GNU Compiler Compiler.
 
@@ -61,7 +60,7 @@
 </xsl:template>
 
 <xsl:template match="item">
-  <xsl:apply-templates select="key('bison:ruleNumber', @rule-number)">
+  <xsl:apply-templates select="key('bison:ruleByNumber', @rule-number)">
     <xsl:with-param name="point" select="@point"/>
   </xsl:apply-templates>
   <xsl:apply-templates select="lookaheads"/>
         <xsl:with-param name="search" select="$search"/>
         <xsl:with-param name="replace" select="$replace"/>
       </xsl:call-template>
-    </xsl:when> 
+    </xsl:when>
     <xsl:otherwise>
-      <xsl:value-of select="$subject"/>  
+      <xsl:value-of select="$subject"/>
     </xsl:otherwise>
-  </xsl:choose>            
+  </xsl:choose>
 </xsl:template>
 
 </xsl:stylesheet>