]> granicus.if.org Git - docbook-dsssl/commitdiff
add simple.xlink support to variablelist term and simplelist member.
authorBob Stayton <bobs@sagehill.net>
Sat, 18 Nov 2006 09:30:23 +0000 (09:30 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 18 Nov 2006 09:30:23 +0000 (09:30 +0000)
xsl/html/lists.xsl

index 8b83a37896bb4b577f9b2310f0f2773b42f62bde..6493fda5c6c452802762df8bb68862a0b60dd61c 100644 (file)
 <xsl:template match="varlistentry/term">
   <span class="term">
     <xsl:call-template name="anchor"/>
-    <xsl:apply-templates/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
     <xsl:choose>
       <xsl:when test="position() = last()"/> <!-- do nothing -->
       <xsl:otherwise>
   </xsl:variable>
 
   <xsl:for-each select="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:choose>
       <xsl:when test="position() = last()"/> <!-- do nothing -->
       <xsl:otherwise>
 
 <xsl:template match="member">
   <xsl:call-template name="anchor"/>
-  <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>
 
 <!-- ==================================================================== -->