« Return to Thread: Howto customize title for legalnotice

Howto customize title for legalnotice

by spr :: Rate this Message:

Reply to Author | View in Thread

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
~spr

 « Return to Thread: Howto customize title for legalnotice