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: Howto customize title for legalnotice



I want the title "IMPORTANT NOTICE" generated for "legalnotice" to be in red
color.

But unable to get it working with code below:
  <xsl:attribute-set name="formal.title.properties">
  <xsl:attribute name="color">
    <xsl:choose>
      <xsl:when test = "parent::legalnotice">red</xsl:when>
      <xsl:otherwise>black</xsl:otherwise>
    </xsl:choose>
  </xsl:attribute>

Also tried "parent::info/legalnotice" in the test above.

What could be going wrong?

Is there a command-line tool that would tell me which XSL template is being
applied during transformation?
Would save may such queries?

~spr
-- 
View this message in context: http://www.nabble.com/Howto-customize-title-for-legalnotice-tf4568304.html#a13038248
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]