Re: xslt extension functions in clojure

2013-05-15 Thread Jim
On 15/05/13 13:08, Gregg Reynolds wrote: The errors I get involve finding the class. But calling the functions from clojure works just fine. It's not a classpath problem because the same thing happens using command line processing with explicit classpath (see the test.sh files in the repo).

Re: xslt extension functions in clojure

2013-05-15 Thread John D. Hume
In the xalan.ext :gen-class the static methods are named "foo" and "bar" but your xslt template is using the (prefixed) names of the clojure impl fns. Did you try just "foo" and "bar" instead? To be sure the class and methods are available in your test, rather than calling the clojure fns, call th

xslt extension functions in clojure

2013-05-15 Thread Gregg Reynolds
Hi, I'm having trouble getting clojure functions to work as xslt extensions. The code is very simple; you can find it at https://github.com/greynolds/xslj. The problem is obviously related to how clojure functions get called from java. I have some idea of how that works but can't figure out how