Beginning in Saxon 9.3 you can pass in a class that implements the interface net.sf.saxon.lib.Initializer to register extension functions. On the command line, you would use the -init option. It would be great if Calabash provided a way to supply an initializer for Saxon to use.