<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
+<!-- ********************************************************************
+ $Id$
+ ********************************************************************
+
+ This file is part of the DocBook XSL Stylesheet distribution.
+ See ../README or http://docbook.sf.net/ for copyright
+ copyright and other information.
+
+ ******************************************************************** -->
+
<!-- Create keys for quickly looking up olink targets -->
<xsl:key name="targetdoc-key" match="document" use="@targetdoc" />
<xsl:key name="targetptr-key" match="div|obj"
<xsl:for-each select="$target.database" >
<xsl:call-template name="insert.targetdb.data">
<xsl:with-param name="data"
- select="key('targetptr-key', $olink.key)/ttl" />
+ select="key('targetptr-key', $olink.key)/ttl/node()"/>
</xsl:call-template>
</xsl:for-each>
</xsl:with-param>