Next in thread → Next in month →

Re: [docbook-apps] Formatting all instances of profiling text in red

From
Tom Browder <>
Date
2010-07-21T12:13:37+00:00
ID
Thread
Re: [docbook-apps] Formatting all instances of profiling text in red
On Tue, Jul 20, 2010 at 12:57, Steve Johnson <> wrote:
> I want all instances of particular profiling elements to display in red in
> the PDF. From Stayton's book, I see an example of how to bold text:
...
> What I think I would do is change it to something like:
>
> <xsl:template match="phrase[@profile.condition='draft']">
> <xsl:call-template name="????"/>
> </xsl:template>

Steve, try this:

  <xsl:template match="phrase[@profile.condition='draft']">
    <fo:inline color='red''><xsl:apply-templates/></fo:inline>
  </xsl:template>

HTH,

-Tom
Next in thread → Next in month →