]> granicus.if.org Git - docbook-dsssl/commitdiff
Restore no.anchor.mode and suppress footnotes in no.anchor.mode
authorNorman Walsh <ndw@nwalsh.com>
Tue, 3 Apr 2001 17:00:46 +0000 (17:00 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Tue, 3 Apr 2001 17:00:46 +0000 (17:00 +0000)
xsl/common/titles.xsl

index dc6a33322f2f94886b376f4edc1148e8068b4507..73bd84e9ac5a99dcdb969c7fc2bc972117f80e3b 100644 (file)
@@ -288,5 +288,19 @@ title of the element. This does not include the label.
 
 <!-- ============================================================ -->
 
+<xsl:template match="*" mode="no.anchor.mode">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="footnote" mode="no.anchor.mode">
+  <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="anchor" mode="no.anchor.mode">
+  <!-- nop, suppressed -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
 </xsl:stylesheet>