You need to ensure that the class containing the Java method is on the classpath (that's all)
 
Michael Kay
http://www.saxonica.com/


From: saxon-help-bounces@lists.sourceforge.net [mailto:saxon-help-bounces@lists.sourceforge.net] On Behalf Of martin.me.roberts@bt.com
Sent: 20 May 2008 11:28
To: saxon-help@lists.sourceforge.net
Subject: [saxon] How does Saxon gain access to external functions

Hi,
  I am running Saxon within an OSGI environment and I need to get it to call static java methods that are defined within the rest of the OSGI environment.  How do I get Saxon to know about these methods?  Is Saxon simply using the classpath available to discover any methods mentioned in the xslt sheet or do I have to explicitly define the 'connection'?
 
Martin