<xsl:variable name="tgroup" select="$row/ancestor::tgroup[1]"/>
+ <xsl:variable name="table" select="($tgroup/ancestor::table
+ |$tgroup/ancestor::informaltable)[1]"/>
+
<xsl:variable name="entry.value">
<xsl:call-template name="get-attribute">
<xsl:with-param name="element" select="$entry"/>
</xsl:call-template>
</xsl:variable>
+ <xsl:variable name="table.value">
+ <xsl:call-template name="get-attribute">
+ <xsl:with-param name="element" select="$table"/>
+ <xsl:with-param name="attribute" select="$attribute"/>
+ </xsl:call-template>
+ </xsl:variable>
+
<xsl:variable name="default.value">
<!-- This section used to say that rowsep and colsep have defaults based -->
<!-- on the frame setting. Further reflection and closer examination of the -->
<xsl:when test="$row.value != ''">
<xsl:value-of select="$row.value"/>
</xsl:when>
+ <xsl:when test="$tgroup.value != ''">
+ <xsl:value-of select="$tgroup.value"/>
+ </xsl:when>
+ <xsl:when test="$table.value != ''">
+ <xsl:value-of select="$table.value"/>
+ </xsl:when>
<xsl:when test="$span.value != ''">
<xsl:value-of select="$span.value"/>
</xsl:when>