Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 3336 invoked from network); 29 Apr 2004 12:00:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Apr 2004 12:00:43 -0000 Received: (qmail 8890 invoked by uid 500); 29 Apr 2004 11:38:20 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 8823 invoked by uid 500); 29 Apr 2004 11:38:19 -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 8735 invoked from network); 29 Apr 2004 11:38:18 -0000 Received: from unknown (HELO mysza.ekom.net.pl) (217.153.51.186) by daedalus.apache.org with SMTP; 29 Apr 2004 11:38:18 -0000 Received: from ouzo by mysza.ekom.net.pl with local (Exim 4.24) id 1BJ9ru-0001CA-9y for dev@cocoon.apache.org; Thu, 29 Apr 2004 13:38:18 +0200 Date: Thu, 29 Apr 2004 13:38:18 +0200 From: Leszek Gawron To: dev@cocoon.apache.org Subject: Re: generator type value substitution Message-ID: <20040429113818.GA4282@wlkp.org> References: <1E0CC447E59C974CA5C7160D2A2854EC02FECD6D@SJMEMXMB04.stjude.sjcrh.local> <20040428184446.GB24711@wlkp.org> <1AA66E06-9960-11D8-AC29-000A95DC4186@apache.org> <40905136.7000200@gmx.de> <773603A5-99BA-11D8-AC29-000A95DC4186@apache.org> <20040429091138.GA32057@wlkp.org> <911A2F12-99C8-11D8-AC29-000A95DC4186@apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <911A2F12-99C8-11D8-AC29-000A95DC4186@apache.org> 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 Thu, Apr 29, 2004 at 12:32:51PM +0200, Ugo Cei wrote: > Il giorno 29/apr/04, alle 11:11, Leszek Gawron ha scritto: > > >As I have stated before this is not a WEB application. I use cocoon as > >xml > >data provider for my C++ application. I know this usage is not common. > >I have used xsps before but I decided to switch to a compiled > >solution. I had > >lot of problems with compile time errors and completely no support in > >refactoring I have now with eclipse and java generators. > > Wouldn't it be possible to retrieve your data into JavaBeans and > serialize them to XML using one of the many Java-to-XML serialization > libraries (XMLBeans comes to mind and Cocoon already includes Castor)? There would have to be several thousands of these beans in a list. I am also serializing the bean properties to attributes to gain on file size. So it looks like: the number of rows reaches 20k. lg -- __ | / \ | Leszek Gawron // \\ \_\\ //_/ ouzo@wlkp.org _\\()//_ .'/()\'. Phone: +48(501)720812 / // \\ \ \\ // recursive: adj; see recursive | \__/ |