I'm doing some keyboard binding customization that is suppose to work  
with both docbook and docbook5, however I got some problem how to pass  
what type of document I'm struggling here as there no macro-variable  
nor protocol pointing that out.

I'd love to have %T macro-variable for my customize.xxe that will  
point to docbook or docbook5, or even to xhtml if necesarry.

        <binding>
                <keyPressed code="P" modifiers="mod alt" />
                <command name="openPS" parameter='pdf %T "/book toc /article 
toc"'/>
        </binding>

I'd love to have possibility to have sthing like xxe-type: protocol  
that will replace:

<xsl:import href="xxe-config:docbook/xsl/fo/docbook.xsl"/>

with:

<xsl:import href="xxe-type:xsl/fo/docbook.xsl"/>

As it is not possible to do any kind of conditional imports in XSL.

Is it hard thing to implement? Would it be feasible to do it in 4.0  
release ?

Note that it could greatly simplify also bundled docbook & docbook5  
scripts as then can be actually shared for both configurations.

Best regards,
-- 
Adam Strzelecki


Reply via email to