This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: custom xsl stylesheet and import path
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Johannes Zellner <johannes at zellner dot org>
- Cc: docbook at lists dot oasis-open dot org
- Date: Mon, 29 Apr 2002 22:49:02 +0200
- Subject: Re: DOCBOOK: custom xsl stylesheet and import path
- References: <20020429191755.GA3223@zellner.org>
Johannes Zellner wrote:
> But as I build the document on different systems with different paths to
> chunk.xsl I'd rather like to make this a configurable path, e.g. with
> an environment variable. I'm currently using saxon for the translation.
> Can I have something like
>
> <xsl:import href = '$PATH_TO_DOKBOOK/chunk.xsl'/>
>
You can setup your XSL procesor to use URI resolver to fetch correct
stylesheet from location specified in catalog file.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz