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] Formatting all instances of profiling text in red


On Tue, Jul 20, 2010 at 12:57, Steve Johnson <stevej@caringo.com> 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


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