This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: How can I get stylesheet to bold?
- To: Bob Stayton <bobs at caldera dot com>
- Subject: Re: DOCBOOK-APPS: How can I get stylesheet to bold?
- From: Dan York <dyork at e-smith dot com>
- Date: Mon, 30 Jul 2001 14:54:43 -0400
- Cc: docbook-apps at lists dot oasis-open dot org, jfranks at quik dot com
- Organization: e-smith, Inc.
- References: <10107300941.aa19151@mammoth.ca.caldera.com>
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
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org