]> granicus.if.org Git - docbook-dsssl/commitdiff
Make xref work again, though I'm not sure why it stopped working.
authorJoe Orton <jorton@redhat.com>
Sun, 5 Jan 2003 23:33:18 +0000 (23:33 +0000)
committerJoe Orton <jorton@redhat.com>
Sun, 5 Jan 2003 23:33:18 +0000 (23:33 +0000)
xsl/manpages/xref.xsl

index ccf8d658c885687e0c01cf2c8d8dc027df1a97ed..671b87d93324bebb2d1be68af1bd2254d4bfb5ac 100644 (file)
@@ -4,7 +4,7 @@
                 version='1.0'>
 
 <xsl:template match="xref">
-  <xsl:variable name="targets" select="id(@linkend)"/>
+  <xsl:variable name="targets" select="key('id', @linkend)"/>
   <xsl:variable name="target" select="$targets[1]"/>
   <xsl:variable name="type" select="local-name($target)"/>