]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed handling of example instances by adding the example element
authorMichael Smith <xmldoc@users.sourceforge.net>
Tue, 19 Jun 2007 18:17:51 +0000 (18:17 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Tue, 19 Jun 2007 18:17:51 +0000 (18:17 +0000)
to the same template we use for processing figure. Closes
#1674538. Thanks to Daniel Leidert.

xsl/manpages/block.xsl

index 43917f6ff068339905fea632f889c91f0259400f..dc029d03df20a0740d6defdf399ddab905d692a3 100644 (file)
 
 <!-- ==================================================================== -->
 
-<xsl:template match="figure">
+<xsl:template match="figure|example">
   <xsl:variable name="param.placement"
                 select="substring-after(normalize-space($formal.title.placement),
                         concat(local-name(.), ' '))"/>