]> granicus.if.org Git - docbook-dsssl/commitdiff
qualify caption template to mediaobject/caption so not confused with table/caption.
authorBob Stayton <bobs@sagehill.net>
Fri, 11 May 2012 03:47:30 +0000 (03:47 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 11 May 2012 03:47:30 +0000 (03:47 +0000)
xsl/fo/graphics.xsl

index 4bde8165d52bcae46dbe5dec65076f8d1f4a1fc2..215a6b0b19121e4efcffb90065d537ee7240dab2 100644 (file)
 
 <!-- ==================================================================== -->
 
-<xsl:template match="caption">
+<xsl:template match="mediaobject/caption">
   <fo:block>
     <xsl:if test="@align = 'right' or @align = 'left' or @align='center'">
       <xsl:attribute name="text-align"><xsl:value-of