<xsl:when test="$print.ranges = 0">
<xsl:choose>
<xsl:when test="count($years) = 1">
- <xsl:value-of select="$years[1]"/>
+ <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$years[1]"/>
+ <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
<xsl:text>, </xsl:text>
<xsl:call-template name="copyright.years">
<xsl:with-param name="years"
</xsl:if>
<xsl:choose>
- <xsl:when test="$show.revisionflag and @revisionflag">
+ <xsl:when test="$show.revisionflag != 0 and @revisionflag">
<div class="{@revisionflag}">
<xsl:apply-templates/>
</div>
</xsl:if>
<xsl:choose>
- <xsl:when test="$show.revisionflag and @revisionflag">
+ <xsl:when test="$show.revisionflag != 0 and @revisionflag">
<div class="{@revisionflag}">
<xsl:apply-templates/>
</div>
<xsl:template match="varlistentry/listitem">
<xsl:choose>
- <xsl:when test="$show.revisionflag and @revisionflag">
+ <xsl:when test="$show.revisionflag != 0 and @revisionflag">
<div class="{@revisionflag}">
<xsl:apply-templates/>
</div>
</xsl:template>
<xsl:template match="year" mode="titlepage.mode">
- <xsl:apply-templates/><xsl:text>, </xsl:text>
-</xsl:template>
-
-<xsl:template match="year[position()=last()]" mode="titlepage.mode">
- <xsl:apply-templates/>
+ <xsl:choose>
+ <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+ <span class="{@revisionflag}">
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </span>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </xsl:otherwise>
+ </xsl:choose>
</xsl:template>
<xsl:template match="holder" mode="titlepage.mode">
- <xsl:apply-templates/><xsl:text>, </xsl:text>
-</xsl:template>
-
-<xsl:template match="holder[position()=last()]" mode="titlepage.mode">
- <xsl:apply-templates/>
+ <xsl:choose>
+ <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+ <span class="{@revisionflag}">
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </span>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates mode="titlepage.mode"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ <xsl:if test="position() < last()">
+ <xsl:text>, </xsl:text>
+ </xsl:if>
</xsl:template>
<xsl:template match="corpauthor" mode="titlepage.mode">
<h1 class="{name(.)}">
<a name="{$id}"/>
<xsl:choose>
- <xsl:when test="$show.revisionflag and @revisionflag">
+ <xsl:when test="$show.revisionflag != 0 and @revisionflag">
<span class="{@revisionflag}">
<xsl:apply-templates mode="titlepage.mode"/>
</span>