]> granicus.if.org Git - docbook-dsssl/commitdiff
Move any indexterms in glossentry to be inside dt, instead of
authorBob Stayton <bobs@sagehill.net>
Thu, 31 Jul 2014 17:33:43 +0000 (17:33 +0000)
committerBob Stayton <bobs@sagehill.net>
Thu, 31 Jul 2014 17:33:43 +0000 (17:33 +0000)
after dt which is invalid.

xsl/html/glossary.xsl

index 5e9c3456823811b454291e996ed3dcd46bef7ad0..fad022f122262ad0777acff68eae916436ea483c 100644 (file)
@@ -212,6 +212,7 @@ GlossEntry ::=
           <xsl:apply-templates select="acronym|abbrev"/>
           <xsl:text>)</xsl:text>
         </xsl:if>
+        <xsl:apply-templates select="indexterm"/>
       </dt>
     </xsl:when>
     <xsl:otherwise>
@@ -234,11 +235,12 @@ GlossEntry ::=
         </xsl:call-template>
 
         <xsl:apply-templates select="glossterm"/>
+        <xsl:apply-templates select="indexterm"/>
       </dt>
     </xsl:otherwise>
   </xsl:choose>
 
-  <xsl:apply-templates select="indexterm|revhistory|glosssee|glossdef"/>
+  <xsl:apply-templates select="glosssee|glossdef"/>
 </xsl:template>
 
 <xsl:template match="glossentry/glossterm">