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.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]