]> granicus.if.org Git - docbook-dsssl/commitdiff
Support linkend to glossentry on glossterm
authorNorman Walsh <ndw@nwalsh.com>
Fri, 22 Jun 2001 19:32:11 +0000 (19:32 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Fri, 22 Jun 2001 19:32:11 +0000 (19:32 +0000)
xsl/fo/inline.xsl

index 3986458d68c2234a24a619fbe401de6011ba878d..cbd3a78965970d616172d5657865e8e8781b5f41 100644 (file)
 </xsl:template>
 
 <xsl:template match="glossterm">
-  <xsl:call-template name="inline.charseq"/>
+  <xsl:choose>
+    <xsl:when test="@linkend">
+      <fo:basic-link internal-destination="{@linkend}"
+                     xsl:use-attribute-sets="xref.properties">
+        <xsl:call-template name="inline.charseq"/>
+      </fo:basic-link>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.charseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
 </xsl:template>
 
 <xsl:template match="sgmltag">