Solution: If you want to call Java functions freely from C3 XSLT, use older
Saxon implementation.
Version 9.1 works perfectly!
Greetings,
Greg
2013/6/21 gelo1234
> Looks like Saxon-HE doesn't support anymore calling Java functions that
> way:
>
>
> http://saxon-xslt-and-xquery-processor.13853.
Looks like Saxon-HE doesn't support anymore calling Java functions that way:
http://saxon-xslt-and-xquery-processor.13853.n7.nabble.com/XSLT-2-0-Saxon-9-HE-and-call-java-functions-td4347.html
But there are available in PE and EE versions, huh
Greetings,
Greg
2013/6/21 gelo1234
> Thanks for
Thanks for the tip. Unfortunately it doesn't work with:
Saxon-HE-9.5.0.2.jar :(
Greetings,
Greg
2013/6/21 Robby Pelssers
> That is possible but the how-to part depends on the Saxon version you
> are using. You will need to dive into how to write extension functions for
> that particular impl
That is possible but the how-to part depends on the Saxon version you are
using. You will need to dive into how to write extension functions for that
particular implementation.
I used it a number of times with Saxon 8.7
http://robbypelssers.blogspot.nl/2012/10/creating-unix-timestamp-with-xslt
OK, one more question. Is it possible with Saxon/Xalan in C3 to invoke
external Java function ?
I can't get it working:
http://www.w3.org/1999/XSL/Transform";
version="1.0"
xmlns:utils="java:org.example.Utils"
exclude-result-prefixes="utils">