RE: tail recursion and NaN2004-05-03 22:58:24Before DC asks, <!--this passes the price and gets the value for output--> <xsl:variable name="sum"> <xsl:call-template name="total-value"> <xsl:with-param name="price" select="//z30-price"/> </xsl:call-template> </xsl:variable> Why not just use <xsl:variable name="sum" select="sum(//z30-price[number(.) = number(.)])"/> or did I miss something? Cheers, Jarno - still the same Real Synthetic Audio <http://www.synthetic.org/play.html>
|
|