]> granicus.if.org Git - docbook-dsssl/commitdiff
Further tinkering with sidebar handling. Think I got it right this
authorMichael Smith <xmldoc@users.sourceforge.net>
Mon, 4 Sep 2006 14:58:28 +0000 (14:58 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Mon, 4 Sep 2006 14:58:28 +0000 (14:58 +0000)
time. (re)closes bug 1541793. Thanks to Mauritz Jeanson.

xsl/common/titles.xsl
xsl/html/block.xsl

index 1ba7dd2169568e43e75a24c567f9dbbd4bf8fbba..9150d34cd021f0fa0fb4516aa5f5e8577f6fa674 100644 (file)
@@ -382,6 +382,14 @@ title of the element. This does not include the label.
   </xsl:apply-templates>
 </xsl:template>
 
+<xsl:template match="sidebar" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(info/title|sidebarinfo/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
 <xsl:template match="abstract" mode="title.markup">
   <xsl:param name="allow-anchors" select="0"/>
   <xsl:choose>
index 0d8fd94f6dfa085b5089da6ff177e8174008c46e..003bfa0a68759c0a296e844396a736df41dd004f 100644 (file)
 <xsl:template match="abstract/title|sidebar/title">
 </xsl:template>
 
+<xsl:template match="sidebar/sidebarinfo"/>
+
 <!-- ==================================================================== -->
 
 <xsl:template match="msgset">