Subject:Trouble Calling a java function from XSLT Author:Oscar Coronado Date:01 Nov 2012 03:16 PM
I'm trying to do a proof of concept on an XSLT with a call to custom java function. I wrote a class to return a simple string. I placed the class file (not my jar) in C:\Program Files\Java\jre6\lib\ext, I set the classpath in my stylus studio project to the path and changed the XSLT Editor Processor Settings to Java built in (All from reading these boards). When I go to register the java function my class shows up with a little red "X". Searching these boards make me think that it can't find support jars. I don't need any support jars, my class is as simple as can be.
public class DateConverter {
public Object MakeString() {
return "Hello World!!!";
}
}