This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
how to customize XSL stylesheets (was Re: Re: [Fwd:[Fwd: First Open Source DocumentationSummit at the O'Reilly Open SourceConvention]])
- To: Gary Lawrence Murphy <garym at canada dot com>, Michael dot P dot Urban at jpl dot nasa dot gov
- Subject: how to customize XSL stylesheets (was Re: DOCBOOK-APPS: Re: [Fwd:[Fwd: First Open Source DocumentationSummit at the O'Reilly Open SourceConvention]])
- From: Jon Willeke <willeke at intersys dot com>
- Date: Thu, 20 Jul 2000 15:58:09 -0400
- Cc: docbook-apps <docbook-apps at lists dot oasis-open dot org>
- References: <200007201442.HAA09619@gefjun.jpl.nasa.gov>
[I've trimmed the cc list to docbook-apps.]
I'm using a customization layer like so:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:include href="/util/sgml/xsl/docbook/html/docbook.xsl" />
<!-- *jcw, 6/6/00: suppress remarks -->
<xsl:variable name="show.comments" select="0"/>
<!-- etc. -->
</xsl:stylesheet>
So I process the document with a command like this:
xt foo.xml docbook-jcw.xsl foo.html
At 03:23 PM 7/20/00 -0400, Gary Lawrence Murphy wrote:
>>>>>> "M" == Michael P Urban <Michael.P.Urban@jpl.nasa.gov> writes:
>
> M> How _does_ one customize the XSL stylesheets, other than
> M> dinking with them directly, by the way?
>
>Ooo ... now that's a good question I hadn't considered. How indeed?
>Thanks for asking ;)
--
Jon Willeke, Quality Engineer
InterSystems Corp.
One Memorial Drive, Cambridge, MA 02142