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: [docbook-apps] Marking paras in colored text


I want to find all paras marked as role="high" and render them as red text in
FO output.

http://www.sagehill.net/docbookxsl/CustomInlines.html shows how to do this
sort of thing when matching on inline text. Is it possible at block level?

Here is my first attempt:

<xsl:template match="para[@role='high']"
 <fo:inline color="red">
   <xsl:apply-templates />
  </fo:inline>
</xsl:template>
-- 
View this message in context: http://old.nabble.com/Marking-paras-in-colored-text-tp32600589p32600589.html
Sent from the docbook apps mailing list archive at Nabble.com.



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