Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 16565 invoked from network); 25 Oct 2004 22:46:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Oct 2004 22:46:09 -0000 Received: (qmail 5481 invoked by uid 500); 25 Oct 2004 22:46:07 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 5449 invoked by uid 500); 25 Oct 2004 22:46:07 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 5375 invoked by uid 99); 25 Oct 2004 22:46:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [212.23.3.142] (HELO rutherford.zen.co.uk) (212.23.3.142) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 25 Oct 2004 15:46:06 -0700 Received: from [82.69.78.226] (helo=[192.168.0.2]) by rutherford.zen.co.uk with esmtp (Exim 4.34) id 1CMDbI-0006O2-9h for dev@forrest.apache.org; Mon, 25 Oct 2004 22:46:04 +0000 Message-ID: <417D822A.4010708@apache.org> Date: Mon, 25 Oct 2004 23:46:02 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Docbook as forrest-plugin References: <200410242043.28765.sean@inwords.co.za> <200410251807.37983.sean@inwords.co.za> <417D2E0E.1040801@apache.org> <200410251946.45097.sean@inwords.co.za> In-Reply-To: <200410251946.45097.sean@inwords.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Rutherford-IP: [82.69.78.226] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sean Wheller wrote: > On Monday 25 October 2004 18:47, Ross Gardler wrote: > >>>Project Specific Customizations? Use case Docbook Customization Layers. >> >>Sorry I am not familiar with Docbook, can you expand on this a little. > > > The basic idea is that one does not want to add customizations to the DTD or > XSL's distributed by the Docbook Project. So you make a custom layer that > acts as your driver. Instead of calling the "docbook.xsl" you call "your.xsl" > that imports or includes the "docbook.xsl." The custom layer passes params > and templates that overide or extend defaults. I see no need to duplicate things by installing the whole plugin in the project directory. It would be better to have one version of the plugin in the Forrest directory and only the customisations in the project directory. Simply have the Docbook plugin look in a standard place within the project directory structure for "your.xsl", if it finds it then it uses it, otherwise it defaults to the one in the plugin. Am I missing something? Ross