[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] user-defined text/background color in HTML output
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. -----Original Message----- From: Stefan Knorr [mailto:sknorr@suse.de] Sent: Montag, 15. August 2016 17:15 To: Shikareva, Ekaterina Cc: docbook-apps@lists.oasis-open.org Subject: RE: [docbook-apps] user-defined text/background color in HTML output 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 <span>s. Stefan. --- . SUSE Linux GmbH. Geschäftsführer: Felix Imendörffer, Jane Smithard, Graham Norton. HRB 21284 (AG Nürnberg). ________________________________ This e-mail and any attachment(s) are intended only for the recipient(s) named above and others who have been specifically authorized to receive them. They may contain confidential information. If you are not the intended recipient, please do not read this email or its attachment(s). Furthermore, you are hereby notified that any dissemination, distribution or copying of this e-mail and any attachment(s) is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender by replying to this e-mail and then delete this e-mail and any attachment(s) or copies thereof from your system. Thank you.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]