← Prev in month ← Prev in thread

Howto customize title for legalnotice

From
spr <>
Date
2007-10-04T11:54:26+00:00
ID
Thread
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.
← Prev in month ← Prev in thread