]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix bug 3528673, missing "separator" param on template with
authorBob Stayton <bobs@sagehill.net>
Thu, 24 May 2012 18:32:40 +0000 (18:32 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 24 May 2012 18:32:40 +0000 (18:32 +0000)
match="indexterm" mode="reference".  That param is passed
for endofrange processing to output the range separator.

xsl/html/autoidx.xsl

index c2f784aa035a987f5bb969c03ebec8a6577532a6..0d2bec826a9ec9cfc63220edd39bc61126224955 100644 (file)
   <xsl:param name="role" select="''"/>
   <xsl:param name="type" select="''"/>
   <xsl:param name="position"/>
+  <xsl:param name="separator" select="''"/>
   
   <xsl:variable name="term.separator">
     <xsl:call-template name="index.separator">
   </xsl:variable>
 
   <xsl:choose>
+    <xsl:when test="$separator != ''">
+      <xsl:value-of select="$separator"/>
+    </xsl:when>
     <xsl:when test="$position = 1">
       <xsl:value-of select="$term.separator"/>
     </xsl:when>