Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Donate public functions of library module the visibility="public" attribute decoration, to allow calling them with fn:transform/SaxonJS.transform #3

Open
martin-honnen opened this issue Oct 11, 2022 · 1 comment

Comments

@martin-honnen
Copy link

I would suggest to use the attribute visibility="public" (or perhaps visibility="final") on the various functions like compileGrammar or parse in the jwiXML XSLT library module as that then allows calling them directly with fn:transform or SaxonJS.transform as the initial-function/initialFunction from XPath/JS (https://www.w3.org/TR/xslt-30/#dt-initial-function).

@martin-honnen
Copy link
Author

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant