</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:call-template name="programTable"/>
- </p>
</xsl:template>
<xsl:template name="addProgramInfo">