Look into generic XSLT extension mechanism
Closed this issue · 2 comments
bertfrees commented
that allows namespace-to-java-class bindings to be specified within the stylesheet, as described here: http://cafeconleche.org/books/xmljava/chapters/ch17s03.html.
I like the explicitness of this mechanism as apposed to implicitly making assumptions on the XSLT engine, and registering extension functions with Saxon "behind the scene", like we need to do now.
However this mechanism may have some disadvantages. Need to find out:
whether it is compatible with OSGi- whether it works with the latest Saxon
- whether it works with functions that operate on Saxon objects