xsl-list
[Top] [All Lists]

[xsl] simple xslt function error

2007-05-09 06:51:05
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>