In XSLT only, Saxon also supports the <saxon:script>
element, based on the
<xsl:script>
element defined in the (now withdrawn) XSLT 1.1 working draft.
This element defines a mapping between a namespace URI used in calls
of extension functions, and a Java class that contains implementations of these functions.
See saxon:script
for details.