|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Java method call error
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 xsltJavaUtil() and I need to access a method called getCurrentDate(); my understanding as of this moment is this, xmlns:ext="http://121.121.121:8080/xsltJavaUtil" <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 Khalid XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








