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