Well perhaps you should turn it into a recursive template then, something like this:
Code:
<xsl:tempalte match="/">
<xsl:variable name="temp">
<xsl:apply-templates select="frame/minute[1]"/>
</xsl:variable>
<Result>
<xsl:value-of select="$temp"/>
</Result>
</xsl:template>
<xsl:tempalte match="minute">
<xsl:variable name="resp">
<xsl:value-of select="{external call}"/>
</xsl:variable>
<xsl:choose>
<xsl:when test="$resp !='0'">
<!-- Do nothing -->
</xsl:when>
<xsl:otherwise>
<xsl:copy -of select="$resp"/>
<xsl:apply-templates select="following-sibling::minute[1]"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>