Access to ExtensionBundle from XSLT/Schematron
Posted: Tue Mar 25, 2014 9:25 am
Hi,
I've implemented an ExtensionBundle (derived from DITAExtensionsBundle) which - besides others - caches some data from the current book to be used in the styles filter, author operations, ...
Now I'd like to have access to this data from within my transformations and schematron validation as well (for better comfort and performance). Here I have the following problems:
Patrik
I've implemented an ExtensionBundle (derived from DITAExtensionsBundle) which - besides others - caches some data from the current book to be used in the styles filter, author operations, ...
Now I'd like to have access to this data from within my transformations and schematron validation as well (for better comfort and performance). Here I have the following problems:
- I already implemented successfully a custom saxon extension for the xslt transformations. However, I can't get access to the cached data since although the caching class is a singleton a new (empty) instance is being created when called from xslt. Is there any way to access the existing instance?
- I have no write access to the binary folder of oxygen. Thus, I can't place my saxon extension library there to make it available for the schematron validation. Is there already a way to explicitly configure an extension for schematron?
Patrik