Hi Graydon,
I can get xslt:transform() to pick up a licensed saxon if I go into the appropriate script (basexgui, etc.) and add it to the class path there. (but not, oddly, from the environment class path on Linux.) That's going to be annoying as BaseX updates with laudable frequency.
Saxon must be found in the Java classpath in order to be used. I assume that’s not the case if it’s added to the environment class path on Linux (but I may be wrong: How do you proceed here?).
If you use a full distribution of BaseX, you can simply place Saxon in the lib/custom directory; there’ll be no need then to modify the classpath.
Is there some way, particularly in the context of a BXS file or as an option to xslt:transform(), to set which transformer I want to use?
If multiple transformers are available, we could possibly add such an option. We haven’t done so yet, as most users who add Saxon to the classpath want to use it exclusively.
Hope this helps, Christian