</xsl:template>
<xsl:template name="programTable">
+ <p>
<table align="left" cellpadding="5">
<!--
<tr align="left">
<xsl:apply-templates select="program"/>
</table>
<br clear="left"/>
+ </p>
</xsl:template>
<xsl:template match="recorded">
<xsl:choose>
<xsl:when test="@result = 'OK'">
<xsl:text>Successfully recorded programs </xsl:text>
+ <xsl:call-template name="programTable"/>
</xsl:when>
<xsl:when test="@result = 'DUPLICATE'">
<xsl:text>Already recorded programs</xsl:text>
+ <xsl:call-template name="programTable"/>
</xsl:when>
<xsl:when test="@result = 'CONFLICT'">
<xsl:text>Conflicts with other recorded programs</xsl:text>
+ <xsl:call-template name="programTable"/>
</xsl:when>
<xsl:when test="@result='ERROR'">
<xsl:text>Programs that could not be recorded for
technical reasons.</xsl:text>
+ <xsl:call-template name="programTable"/>
</xsl:when>
</xsl:choose>
</h2>
- <p>
- <xsl:if test="not(@result='OLDSHOW')">
- <xsl:call-template name="programTable"/>
- </xsl:if>
- </p>
</xsl:template>
<xsl:template name="addProgramInfo">
<xsl:text>Successfully recorded programs </xsl:text>
<xsl:value-of select="$newline"/>
<xsl:value-of select="$newline"/>
+ <xsl:call-template name="programTable"/>
</xsl:when>
<xsl:when test="@result = 'DUPLICATE'">
<xsl:text>Already recorded programs</xsl:text>
<xsl:value-of select="$newline"/>
<xsl:value-of select="$newline"/>
+ <xsl:call-template name="programTable"/>
</xsl:when>
<xsl:when test="@result = 'CONFLICT'">
<xsl:text>Conflicts with other recorded programs</xsl:text>
<xsl:value-of select="$newline"/>
<xsl:value-of select="$newline"/>
+ <xsl:call-template name="programTable"/>
</xsl:when>
<xsl:when test="@result='ERROR'">
<xsl:text>Programs that could not be recorded for technical reasons.</xsl:text>
<xsl:value-of select="$newline"/>
<xsl:value-of select="$newline"/>
+ <xsl:call-template name="programTable"/>
</xsl:when>
</xsl:choose>
- <xsl:if test="not(@result='OLDSHOW')">
- <xsl:call-template name="programTable"/>
- </xsl:if>
-
</xsl:template>
<xsl:template name="addProgramInfo">