]> granicus.if.org Git - docbook-dsssl/commitdiff
Localize the textonly calculations by creating a object.title.markup.textonly mode
authorNorman Walsh <ndw@nwalsh.com>
Sun, 15 Apr 2001 21:36:03 +0000 (21:36 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Sun, 15 Apr 2001 21:36:03 +0000 (21:36 +0000)
xsl/common/gentext.xsl

index 76395044c27bae6029198a2f90ab0cd45de8e1ab..a0830591d61a0d2f67ce44ddf6b204d1f7a4f8c3 100644 (file)
   </xsl:call-template>
 </xsl:template>
 
+<xsl:template match="*" mode="object.title.markup.textonly">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
 <!-- ============================================================ -->
 
 <xsl:template match="*" mode="object.subtitle.markup">