Hi,
try:
<xsl:template match="*[@role='red']" priority="10">
<fo:inline
color="red"><xsl:apply-imports/></fo:inline>
</xsl:template>
Have a look here:
http://www.w3schools.com/xslfo/prop_color.asp
Greetings
Dominic Weiss
Von: Benjamin DE DARDEL [mailto:[email protected]]
Gesendet: Dienstag, 31. Januar 2012 14:04
An: docbook-apps
Betreff: [docbook-apps] Font color
Hi all,
I wonder if there is a way to set color easily for some part of my text
?
For exemple :
<emphasis role="???">My Colored Text</emphasis>
As I expect that it's not so easy, does some of you have ever customized
pdf stylesheets to do that ?
Regards,
Benjamin