Re: DOCBOOK-APPS: How can I get stylesheet to bold?

From
Dan York <>
Date
2001-07-30T19:51:04+00:00
ID
Thread
Re: DOCBOOK-APPS: How can I get stylesheet to bold?
Jeffrey,

> > How can I get the html style sheet to bold
> > for markup <emphasis role="strong"> ?

As Bob has mentioned, you just need to add it to a customization
layer that sits on top of Norm's XSLT stylesheets. You can see
my layer at:

  http://www.e-smith.com/docs/e-smith.xsl

and the document that describes the process at:

  http://www.e-smith.com/docs/docprocess.html

I will note that Bob had a much more elegant way of doing it:

>     <xsl:when test="@role='bold'|@role='strong'">  <!-- changed line -->

I did two separate <xsl:when test...> statements. At the time
I first wrote this, I didn't know how to do an OR in an XSLT
test.

Regards,
Dan

-- 
Dan York, Director of Training        
Ph: +1-613-751-4401  Mobile: +1-613-263-4312 Fax: +1-613-564-7739 
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            open source, open mind