I am using a DITA-OT version 3.3.4 outside the Oxygen Framework (standalone). There is also the plugin com.oxygenxml.pdf.css included (latest version from https://github.com/oxygenxml/dita-ot-css-pdf).
Inside the plugin com.oxygenxml.pdf.css I want to use the tempalte getVariable from the plugin:org.dita.base.
Without importing dita-utilities.xsl I get:
[m2m] Static error at xsl:call-template on line 199 column 45 of merged-topics.xsl
[m2m] XTSE0650: Cannot find a template named getVariable
..... plugins\com.oxygenxml.pdf.css\build-merged2merged.xml:25: java.lang.RuntimeException: Failed to compile stylesheet '..... \plugins\com.oxygenxml.pdf.css\xsl\merged2merged\merged.xsl': net.sf.saxon.s9api.SaxonApiException: Errors were reported during stylesheet compilation
As soon as I try to include dita-utilities.xsl, I get a java.lang.reflect.InvocationTargetException
Code: Select all
Interestingly, <xsl:message> seems to work, so I think that output-message.xsl seems to be included (at least access seems to work).
How can I use getVariable correctly?
Thanks a lot