This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Using both chunk.xsl and changebars.xsl
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Raphael Goubet <raphael dot goubet at larcier dot be>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 11 Jun 2002 09:16:53 +0200
- Subject: Re: DOCBOOK-APPS: Using both chunk.xsl and changebars.xsl
- References: <5.1.0.14.0.20020611090124.049bf100@nefertari.deboeck.be>
Raphael Goubet wrote:
> Is it possible to use both chunk.xsl and changebars.xsl? If I import them
> both, no matter in what order, the changebars stylesheet won't have any effect.
>
> The only workaround I could find was to import changebars.xsl into
> docbook.xsl by adding an <xsl:import> line, and remove the line which
> imports docbook.xsl in changebars.xsl.
>
> Is there a cleaner way to do it?
Make your own copy of changebars.xsl (e.g. changebars-chunk.xsl) and
change <xsl:import href="docbook.xsl"/> to <xsl:import
href="chunk.xsl"/>. It should (could;-) work.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz