Support indexes pointing directo to varlist items
[exim-website.git] / templates / doc / chapter.xsl
index 03fa3485f9e97d4c44086ccbdfc6fc622eca71f4..be6990aa75d3e8949c16d0a4948bad0179bc6191 100644 (file)
          </p>
       </xsl:template>
 
+   <!-- Anchors on varlistitems -->
+      <xsl:template match="*/listitem[@anchorname]">
+         <a id="{@anchorname}"> </a>
+         <dd>
+           <xsl:apply-templates select="*"/>
+         </dd>
+      </xsl:template>
+
    <!-- Ignore -->
       <xsl:template match="chapter_id|this_url|prev_url|next_url|toc_url|canonical_url|current_url|title_uri|old_versions"/>