]> granicus.if.org Git - docbook-dsssl/commitdiff
Pick up the frame attribute on table and informaltable.
authorDavid Cramer <david@thingbag.net>
Mon, 24 Feb 2003 04:13:04 +0000 (04:13 +0000)
committerDavid Cramer <david@thingbag.net>
Mon, 24 Feb 2003 04:13:04 +0000 (04:13 +0000)
xsl/fo/formal.xsl

index 413fbfaa4f41d939e815736d81aab99b837f74d0..a27ca60e8a914db758e1984d31674133b0f6f43d 100644 (file)
 <xsl:template name="table.frame">
   <xsl:variable name="frame">
     <xsl:choose>
-      <xsl:when test="@frame">
-        <xsl:value-of select="@frame"/>
+      <xsl:when test="../@frame">
+        <xsl:value-of select="../@frame"/>
       </xsl:when>
       <xsl:otherwise>all</xsl:otherwise>
     </xsl:choose>