Adding a custom graphic to XSL-FO stylesheets
Posted: Tue Apr 07, 2015 1:02 am
Apologies if I should have been able to find the answer, but I wasn't able to after some searching.
I am customizing the DITA-OT pdf generation process. I have found where one is supposed to be able to put custom graphics into cfg/common/artwork/ to modify the graphics used for the various note types. But try as I might, I cannot figure out how to add a new graphic such as the client's logo so that I can reference it from the XSL-FO stylesheets. Putting the graphic in the same directory as the custom fo (cfg/fo/xsl/) and referencing it with a path-less file name doesn't work (presumably because the FO stylesheet is not really in that location any more when the XSLT processor is running).
What's the trick to be able to reference a custom graphic from a custom xsl-fo file?
thanks.
paul
Using: <oXygen/> XML Editor 15.2, build 2014040317
I am customizing the DITA-OT pdf generation process. I have found where one is supposed to be able to put custom graphics into cfg/common/artwork/ to modify the graphics used for the various note types. But try as I might, I cannot figure out how to add a new graphic such as the client's logo so that I can reference it from the XSL-FO stylesheets. Putting the graphic in the same directory as the custom fo (cfg/fo/xsl/) and referencing it with a path-less file name doesn't work (presumably because the FO stylesheet is not really in that location any more when the XSLT processor is running).
What's the trick to be able to reference a custom graphic from a custom xsl-fo file?
thanks.
paul
Using: <oXygen/> XML Editor 15.2, build 2014040317