On 18/03/10 09:02, robert wrote:
Hi All,
I would like to apply custom values of the class attribute to the selected
section and olink elements. I've tried with the role attribute, but it does
not work. I've also tried to add the following template to my customization
layer (both for section and olink):
<xsl:template match="secti...@role = 'quickref']" mode="class.value">
<xsl:value-of select="@role"/>
</xsl:template
Again, no success.
What am I missing?
http://docbook.sourceforge.net/release/xsl/current/doc/html/css.decoration.html
<xsl:param name="css.decoration" select="1"></xsl:param>
That takes your element names through to class attributes I believe.
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]