Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 18488 invoked from network); 20 May 2005 10:22:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 May 2005 10:22:16 -0000 Received: (qmail 89481 invoked by uid 500); 20 May 2005 10:22:05 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 89441 invoked by uid 500); 20 May 2005 10:22:04 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 89426 invoked by uid 99); 20 May 2005 10:22:04 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of ap-cocoon-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 20 May 2005 03:21:59 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DZ4bj-00022d-Hl for users@cocoon.apache.org; Fri, 20 May 2005 12:19:55 +0200 Received: from host42-119.pool8291.interbusiness.it ([82.91.119.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 May 2005 12:19:55 +0200 Received: from lmorandini by host42-119.pool8291.interbusiness.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 May 2005 12:19:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Luca Morandini Subject: Re: Pipeline global-variables in separate file Date: Fri, 20 May 2005 12:19:32 +0200 Lines: 55 Message-ID: References: Reply-To: lmorandini@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: host42-119.pool8291.interbusiness.it User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: en-us, en, it In-Reply-To: Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Derek Hohls wrote: > In case anyone needs a reference: > http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html#GlobalInputModule > > >>>>lgawron@mobilebox.pl 2005/05/20 10:11:36 AM >>> > > Martin Rusnak wrote: > >>Dear all, >> >>I have some global variables set for a pipeline in subsitemap: >> >> >> >> >> ... >> >> >> >> >>How can I separate them to allow quick site specific configuration? > > use some input module for that (xml file input module for example) > instead of global sitemap variable. ...or use an XML entity, like: 1) Insert this at the beginnging of the sitemap: ]> 2) Configuration/parameters.xml should follow this format: MapClientBase 3) Place &configuration; inside the "" element (it will be substituted by the parameters.xml document). One caveat: when you modify parameters.xml, you should "touch" sitemap.xmap as well, in order for Cocoon to re-load the changed parameters.xml file. Regards, -------------------- Luca Morandini www.lucamorandini.it -------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org