[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

simple xslt function error

Subject: simple xslt function error
From: Vaduvoiu Tiberiu <vaduvoiutibi@xxxxxxxxx>
Date: Wed, 9 May 2007 06:50:52 -0700 (PDT)
 simple xslt function error
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.