]> granicus.if.org Git - docbook-dsssl/commitdiff
Use href.target so that chunking will work
authorNorman Walsh <ndw@nwalsh.com>
Sun, 6 Jan 2002 19:27:56 +0000 (19:27 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 6 Jan 2002 19:27:56 +0000 (19:27 +0000)
litprog/html/ldocbook.xweb

index b2c3016863b1916e6887b2850dd2a51e7dc37f89..e316c04c0c567efb9fc1c79724557c68eeb8d7cf 100644 (file)
@@ -212,7 +212,12 @@ if possible. A table is used to make the listings stand out.</para>
             <xsl:text>: </xsl:text>
             <xsl:for-each select="$referents">
               <xsl:if test="position() &gt; 1">, </xsl:if>
-              <a href="#{@id}">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:call-template name="href.target">
+                    <xsl:with-param name="object" select="."/>
+                  </xsl:call-template>
+                </xsl:attribute>
                 <xsl:apply-templates select="." mode="label.markup"/>
               </a>
             </xsl:for-each>