xsl:evaluate doesn't support use of user-defined functions
within the static context for
xsl:evaluate should be
All user-defined functions present in the containing package provided their visibility is not hidden or private;
Currently this is not the case for Saxon-JS and will be somewhat expensive to implement, requiring
Expr.evaluate() to search through the package SEF it is called from to find the function definitions, generate signatures and pass through on each invocation. It may be possible to arrange a cache.
Please register to edit this issue