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

RE: Java method call error

Subject: RE: Java method call error
From: "Khalid"<k_ali@xxxxxxxxxxxxxxx>
Date: Thu, 31 Jan 2002 16:35:27 GMT
instance method call to method
I am using xalan,I have found out that to call an instance function I have to
add an instance of the saem object in the parameters
say I have a class that has a constructor
and I need to access a method called getCurrentDate();
my understanding as of this moment is this,

<xsl:value-of select="ext:getCurrentDate(ext:new())"/>

As I understand I am passing an instance of the same object to a method and
since it doesn't take any other arguments it should return the required date.

but it sill gives me this error.

javax.xml.transform.TransformerException: Instance method call to method new
requires an Object instance as first argument


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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-2013 All Rights Reserved.