Click to See Complete Forum and Search --> : simplest xsl function - error


biggie_mac
05-09-2007, 03:51 AM
this is my function:

<xsl:function name="foo:mytest">
<xsl: param name="tet"/>
<li><xsl:value-of select="$tet"/></li>
</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??