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/Custo
mMethods.html#CustomizationLayer
Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs sagehill.net
----- Original Message -----
From: "Anthony Ettinger" <anthony chovy.com>
To: "Bob Stayton" <bobs sagehill.net>
Cc: "DocBook Apps" <docbook-apps lists.oasis-open.org>
Sent: Thursday, October 11, 2007 10:37 AM
Subject: Re: [docbook] maintaining customized docbook xsl
files
> On 10/11/07, Bob Stayton <bobs sagehill.net> 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.o
rg/resume/
> http://utuxia.com/consul
ting
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|