I think what you want is to create a customization layer which imports the
stock stylesheets and customizes only those parts that need changing. See
this reference for more information:
http://www.sagehill.net/docbookxsl/CustomMethods.html#CustomizationLayer
Bob Stayton
Sagehill Enterprises
DocBook Consulting
----- Original Message -----
From: "Anthony Ettinger" <>
To: "Bob Stayton" <>
Cc: "DocBook Apps" <>
Sent: Thursday, October 11, 2007 10:37 AM
Subject: Re: [docbook] maintaining customized docbook xsl files
> On 10/11/07, Bob Stayton <> wrote:
>> [moving this over to docbook-apps where such items are discussed]
>>
>> I'm not clear on what you need. Can't you just substitute on the
>> command
>> line a different stylesheet file on a case-by-case basis?
>>
>
>> >I want to provide a mechanism to override the default docbook files
>> > (on case-by-case basis) if needed.
>> >
>> > ie:
>> >
>> > /my_files/foo.xsl (customized)
>> > /distro/foo.xsl (original)
>> > /distro/bar.xsl (original)
>> >
>> > What is the best way to accomplish this?
>> >
>
>
> There are several docbook xsl files with the standard distribution...I
> want to override one or two (as needed) and still use the default xsl
> files.
>
>
> --
> Anthony Ettinger
> Ph: 408-656-2473
> var (bonita, farley) = new Dog;
> farley.barks("very loud");
> bonita.barks("at strangers");
>
> http://chovy.dyndns.org/resume/
> http://utuxia.com/consulting
>
>