]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed path selection in tgroup template.
authorBob Stayton <bobs@sagehill.net>
Fri, 8 Sep 2006 18:42:23 +0000 (18:42 +0000)
committerBob Stayton <bobs@sagehill.net>
Fri, 8 Sep 2006 18:42:23 +0000 (18:42 +0000)
xsl/fo/table.xsl

index d762e5908a422b6371605fe880e16e0278f6e70a..c2a2b010cbc328d3d59e2a6189f96c07491d4141 100644 (file)
@@ -478,7 +478,7 @@ to be incomplete. Don't forget to read the source, too :-)</para>
     <xsl:attribute name="table-layout">fixed</xsl:attribute>
   </xsl:if>
 
-  <xsl:if test="count(preceding-sibling::*) = 0">
+  <xsl:if test="count(preceding-sibling::tgroup) = 0">
     <!-- If this is the first tgroup, output the width attribute for the -->
     <!-- surrounding fo:table. (If this isn't the first tgroup, trying   -->
     <!-- to output the attribute will cause an error.)                   -->