getVariable in plugin com.oxygenxml.pdf.css
Posted: Tue Nov 05, 2019 10:22 am
Hello
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
plugins\com.oxygenxml.pdf.css\build-merged2merged.xml:25: java.lang.reflect.InvocationTargetException
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
Regards
Apollo102
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
<xsl:import href="plugin:org.dita.base:xsl/common/dita-utilities.xsl"/>
plugins\com.oxygenxml.pdf.css\build-merged2merged.xml:25: java.lang.reflect.InvocationTargetException
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
Regards
Apollo102