newb question; custom parameters
Posted: Tue Apr 18, 2023 5:42 am
Real dumb question, I just would like someone to confirm Im digging in the right direction.
Our DITA-PDF customization setup was done by someone who is no longer around and admittedly Im catching up (and also a XSL noob). We do a bit of funky chicken in our customization.dir/fo/xsl/custom.xsl file:
From there we nab variables for our transforms from customization.dir/fo/common/vars/$local.xml (customizationVarsFile) and its great. But the structure for our document repository is based around <product>\<document>\<locale> and right now there's a customization folder for each document which is silly. I'd like to change things so Im using a common Customization folder for all documents in <product> or even across all products. i.e. instead of using
<product>\<document>\Customization\common\vars\<locale>.xml
i'd like to use
<product>\Customization\common\vars\<document><locale>.xml
or just specify the specific vars file I want to use explicitly as a parameter and not have it built using existing other parameters. To get the additional parameter is this plugin time or is there a thing Im missing?
Our DITA-PDF customization setup was done by someone who is no longer around and admittedly Im catching up (and also a XSL noob). We do a bit of funky chicken in our customization.dir/fo/xsl/custom.xsl file:
Code: Select all
<xsl:variable name="customizationVarsFile" select="concat($customizationDir.url, 'common/vars/', $locale, '.xml')"/>
<product>\<document>\Customization\common\vars\<locale>.xml
i'd like to use
<product>\Customization\common\vars\<document><locale>.xml
or just specify the specific vars file I want to use explicitly as a parameter and not have it built using existing other parameters. To get the additional parameter is this plugin time or is there a thing Im missing?