]> granicus.if.org Git - docbook-dsssl/commitdiff
Add simple.xlink processing to term and member elements.
authorBob Stayton <bobs@sagehill.net>
Sun, 19 Nov 2006 06:36:56 +0000 (06:36 +0000)
committerBob Stayton <bobs@sagehill.net>
Sun, 19 Nov 2006 06:36:56 +0000 (06:36 +0000)
xsl/fo/lists.xsl

index 8466cb0727c7d4247da1b5680f86fef6046f9595..37e0be18a542d1cf13dbf590050464d0288b8218 100644 (file)
 </xsl:template>
 
 <xsl:template match="varlistentry/term">
-  <fo:inline><xsl:apply-templates/></fo:inline>
+  <fo:inline>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </fo:inline>
   <xsl:choose>
     <xsl:when test="not(following-sibling::term)"/> <!-- do nothing -->
     <xsl:otherwise>
 </xsl:template>
 
 <xsl:template match="member">
-  <xsl:apply-templates/>
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
 </xsl:template>
 
 <!-- ==================================================================== -->