Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 85132 invoked from network); 28 Apr 2004 18:39:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 28 Apr 2004 18:39:09 -0000 Received: (qmail 59701 invoked by uid 500); 28 Apr 2004 18:38:57 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 59493 invoked by uid 500); 28 Apr 2004 18:38:56 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 59476 invoked from network); 28 Apr 2004 18:38:55 -0000 Received: from unknown (HELO mysza.ekom.net.pl) (217.153.51.186) by daedalus.apache.org with SMTP; 28 Apr 2004 18:38:55 -0000 Received: from ouzo by mysza.ekom.net.pl with local (Exim 4.24) id 1BItxU-0006U3-3A for dev@cocoon.apache.org; Wed, 28 Apr 2004 20:39:00 +0200 Date: Wed, 28 Apr 2004 20:39:00 +0200 From: Leszek Gawron To: dev@cocoon.apache.org Subject: Re: generator type value substitution Message-ID: <20040428183900.GA24711@wlkp.org> References: <20040428180308.GA24247@wlkp.org> <408FF733.4060103@umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <408FF733.4060103@umn.edu> User-Agent: Mutt/1.4.1i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Wed, Apr 28, 2004 at 01:25:55PM -0500, Tony Collen wrote: > Leszek Gawron wrote: > >Why doesn't work ? I cannot find the > >explanation in > >the archives. I am currently porting all my xsp generators to Java based > >(compile time errors were a real nightmare). I am not able to use flow > >here - > >I need to use the pull model - the generator gets data from database, > >applies > >non trivial logic and then outputs the sax events. > > > >I use cocoon as a second tier which provides data for my C++ clients (http > >protocol). The documents generated for offline synchronization contains > >sometimes 10k+ nodes (files reach 2.5 MB ) > > > >I cannot use jxtg as I heavily mix iterative data retrieval from database > >and > >data manipulation. > > > >Previously (with xsps) I could do >src="{1}.xsp"/>. With java generators this turns into a sitemap nightmare. > > lg > > > > > Hmm, What about writing a selector to choose which generator to use? > > What is the point of this ? still I have to do : even now without a custom selector I can do: but this is huge and grows every time I add some new functionality. With xsps I haven't touched the sitemap for months. -- __ | / \ | Leszek Gawron // \\ \_\\ //_/ ouzo@wlkp.org _\\()//_ .'/()\'. Phone: +48(501)720812 / // \\ \ \\ // recursive: adj; see recursive | \__/ |