This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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.
See:

http://lists.oasis-open.org/archives/docbook-apps/200204/msg00158.html

-- 

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]