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).


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to