]> granicus.if.org Git - docbook-dsssl/commitdiff
Don't put ulink, link, olink, or xref in titles if anchor's aren't allowed
authorNorman Walsh <ndw@nwalsh.com>
Mon, 16 Apr 2001 18:50:18 +0000 (18:50 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 16 Apr 2001 18:50:18 +0000 (18:50 +0000)
xsl/common/titles.xsl

index 73bd84e9ac5a99dcdb969c7fc2bc972117f80e3b..78725aaa26fe7062df3fc80e1f17846886611332 100644 (file)
@@ -300,6 +300,22 @@ title of the element. This does not include the label.
   <!-- nop, suppressed -->
 </xsl:template>
 
+<xsl:template match="ulink" mode="no.anchor.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="link" mode="no.anchor.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="olink" mode="no.anchor.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="xref" mode="no.anchor.mode">
+  <!-- FIXME: this should generate the text without the link... -->
+</xsl:template>
+
 <!-- ============================================================ -->
 
 </xsl:stylesheet>