<fo:table-row>
<fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
<fo:block xsl:use-attribute-sets="revhistory.title.properties">
- <xsl:call-template name="gentext">
- <xsl:with-param name="key" select="'RevHistory'"/>
- </xsl:call-template>
+ <xsl:choose>
+ <xsl:when test="title|info/title">
+ <xsl:apply-templates select="title|info/title" mode="titlepage.mode"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="gentext">
+ <xsl:with-param name="key" select="'RevHistory'"/>
+ </xsl:call-template>
+ </xsl:otherwise>
+ </xsl:choose>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table>
</xsl:template>
+<xsl:template match="revhistory/title">
+ <!-- Handled in titlepage.mode -->
+</xsl:template>
+
<xsl:template match="revhistory/revision">
<xsl:variable name="revnumber" select="revnumber"/>
<xsl:variable name="revdate" select="date"/>