]> granicus.if.org Git - docbook-dsssl/commitdiff
Modified predicate in tabstyle template. Closes bug #2269202.
authorMauritz Jeanson <mj@johanneberg.com>
Wed, 19 Nov 2008 20:36:45 +0000 (20:36 +0000)
committerMauritz Jeanson <mj@johanneberg.com>
Wed, 19 Nov 2008 20:36:45 +0000 (20:36 +0000)
xsl/common/table.xsl

index 562d3412ada75cb3fa732af25d464b2256e3dbb6..85bf43fa18dc1ce03dcd19e0a6327839cef83d10 100644 (file)
@@ -493,7 +493,7 @@ or 0 (the empty string)</para>
 
   <xsl:variable name="table" 
                 select="($node/ancestor-or-self::table | 
-                         $node/ancestor-or-self::informaltable)[1]"/>
+                         $node/ancestor-or-self::informaltable)[last()]"/>
 
   <xsl:variable name="tabstyle">
     <xsl:choose>