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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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

Subject: Re: DOCBOOK: custom xsl stylesheet and import path

On Mon, Apr 29, 2002 at 09:17:55PM +0200, Johannes Zellner wrote:
> Hi,
> I'm using a custom xsl sheet which imports chunk.xsl:
>   <xsl:import href = '/home/joze/docbook/xsl/docbook-xsl-1.49/html/chunk.xsl'/>
> 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'/>

No, that syntax is not allowed in XSL import or include.
But you can use XML catalogs to do the same thing.



Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: bobs@caldera.com

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

Powered by eList eXpress LLC