OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: 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        dyork@e-smith.com
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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC