Open martin-honnen opened 1 year ago
@johnlumley , are you on holiday or busy with other stuff? Or is that suggestion (which would allow calling your XSLT library functions from fn:transform
and/or SaxonJS.transform
as the initial-function
/initialFunction
) not something you want your library to be used for?
I would suggest to use the attribute
visibility="public"
(or perhapsvisibility="final"
) on the various functions likecompileGrammar
orparse
in the jwiXML XSLT library module as that then allows calling them directly withfn:transform
orSaxonJS.transform
as theinitial-function
/initialFunction
from XPath/JS (https://www.w3.org/TR/xslt-30/#dt-initial-function).