How to integrate saxon in an applescript application.

I have successfully worked with a XSLT 1.0 processor (XMLLib.osax) and integrated the osax in my script.

However, I don’t want to be limited to XSLT 1.0, I want to use 2.0.

To do that I need to use a XSLT 2.0 processor, like saxon http://saxon.sourceforge.net/
which is written in java.

But I have no idea how to implement a java library in my script, if this is even possible.