Hi @all,
I have a very simple use case here, but I cannot get any answer.
I want to publish/provide a customized XSL Stylesheet for DocBook Users. The stylesheet defines variables for the DocBook Stylesheets, e.g.
<xsl:variable name="html.stylesheet.type">text/css</xsl:variable> <xsl:variable name="html.stylesheet" select="mystyle.css'"></ xsl:variable>
and customizes a little bit.
My stylesheet must include the official DocBook XSL Stylesheets. Very simple:
<xsl:import href="SOME_PATH/docbook/fo/docbook.xsl"/>
You can see the problem here! SOME_PATH is different for each user, and I don't want the user to edit the file. What to do? Environment variables don't work, Param, Variables cannot be used within import. I think, that there is no preprocessor for XSL? etc.
Is there any feasible way?
Thanks in advance!
Kirsten
I have a very simple use case here, but I cannot get any answer.
I want to publish/provide a customized XSL Stylesheet for DocBook Users. The stylesheet defines variables for the DocBook Stylesheets, e.g.
<xsl:variable name="html.stylesheet.type">text/css</xsl:variable> <xsl:variable name="html.stylesheet" select="mystyle.css'"></ xsl:variable>
and customizes a little bit.
My stylesheet must include the official DocBook XSL Stylesheets. Very simple:
<xsl:import href="SOME_PATH/docbook/fo/docbook.xsl"/>
You can see the problem here! SOME_PATH is different for each user, and I don't want the user to edit the file. What to do? Environment variables don't work, Param, Variables cannot be used within import. I think, that there is no preprocessor for XSL? etc.
Is there any feasible way?
Thanks in advance!
Kirsten