OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[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

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.


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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]