Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 51068 invoked from network); 9 Feb 2007 18:37:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Feb 2007 18:37:05 -0000 Received: (qmail 68899 invoked by uid 500); 9 Feb 2007 18:37:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 68842 invoked by uid 500); 9 Feb 2007 18:37:08 -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 68831 invoked by uid 99); 9 Feb 2007 18:37:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 10:37:07 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [194.244.244.36] (HELO mega.supermega.it) (194.244.244.36) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2007 10:36:57 -0800 Received: from chirale.ikkoku (host-84-220-114-250.cust-adsl.tiscali.it [84.220.114.250]) by mega.supermega.it (Postfix) with ESMTP id 427DE98018 for ; Fri, 9 Feb 2007 19:36:32 +0100 (CET) Received: by chirale.ikkoku (sSMTP sendmail emulation); Fri, 9 Feb 2007 19:36:45 +0100 Date: Fri, 9 Feb 2007 19:36:45 +0100 From: Tobia Conforto To: users@cocoon.apache.org Subject: Re: aggregating duplicate parameters at sitemap level Message-ID: <20070209183645.GE1860@localhost.localdomain> References: <2933.212.87.118.128.1171012409.squirrel@webmail.hostbasket.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2933.212.87.118.128.1171012409.squirrel@webmail.hostbasket.com> User-Agent: Mutt/1.5.11+cvs20060126 X-Virus-Checked: Checked by ClamAV on apache.org ron.vandenbranden@kantl.be wrote: > When the XQuery generator is called for in a , it is > impossible to pass the request parameters: > > > > > > > > > (with a separate match for the .xq part in the pipeline:) > > > > > > > I would store the request *parameters* you need in request *attributes*. Pipeline, part 1: (Don't forget that {1} becomes {../1}.) Part 2: This has the added benefit of avoiding use-request-parameters, which is generally frowned upon for various reasons. You will need this component: false (store-empty-parameters is a matter of preference.) And this change in cocoon.xconf (adding an empty key-prefix option to the request-attr *output* module): - + + + ... Take it all with a grain of salt, I am not a Cocoon expert :-) Tobia --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org