[xsl] simple xslt function error

Subject: [xsl] simple xslt function error
From: Vaduvoiu Tiberiu <vaduvoiutibi@xxxxxxxxx>
Date: Wed, 9 May 2007 06:50:52 -0700 (PDT)
this is my function:

    <xsl:function name="foo:mytest">
    <xsl: param name="tet"/>
        <xsl:value-of select="$tet"/>
    </xsl:function>
and in the top of the document I defined an xmlns:foo="http://something";
in my template only thing I do is:
<xsl:value-of select="foo:mytest(14)"/> and I get the error:

java.lang.NoSuchMethodException: For extension function, could not find method java.lang.Double.mytest([ExpressionContext,] ). So what am I doing wrong??


 
____________________________________________________________________________________
Looking for earth-friendly autos? 
Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/

Current Thread