docbook-apps

  • 1.  RE: [docbook-apps] user-defined text/background color in HTML output

    Posted 08-15-2016 15:15
    Hi Ekaterina,

    I presume, you will have to replace the template for phrase then, at
    least partly. Maybe try something like:

    <xsl:template match="phrase[contains(@role,'bgcolor:') or
    contains(@role,'color:')]">
    ...

    That would allow you to keep the normal phrase template intact and only
    add your "role"-hacked template where needed. If you need the original
    handling to happen in addition, try <xsl:apply-imports>, as it hopefully
    does not matter if you are nesting s.


    Stefan.

    --- .
    SUSE Linux GmbH. Geschäftsführer: Felix Imendörffer, Jane Smithard,
    Graham Norton. HRB 21284 (AG Nürnberg).




  • 2.  RE: [docbook-apps] user-defined text/background color in HTML output

    Posted 08-15-2016 15:45
    So, if not answering my question directly, you at least made me think and google more, so finally I did it :)

    Thank you very much for your time and attention to my problem!

    --
    Ekaterina Shikareva.