Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 17864 invoked by uid 500); 14 Nov 2001 09:42:24 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 17796 invoked from network); 14 Nov 2001 09:42:24 -0000 Message-ID: <006401c16ce8$f9921f00$0a001aac@DIGITAL> Reply-To: "Tomas Espeleta" From: "Tomas Espeleta" To: References: <4.3.1.1.20011113144946.00bca900@mail.dti.net> Subject: Re: Generators.. was: Re: SV: What is Cocoon good for??? Date: Wed, 14 Nov 2001 09:47:15 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > On Tuesday 13 November 2001 02:53 pm, you wrote: > > having code within your XSP page that reads XML from some external source > > (outside the page) and outputting it > > > > > > Seems to me like that type of code is best done as a separate generator of > > its own. > > > > Others agree? disagree? > > I agree. I only use XSP for instances where I want to use logicsheets. > Otherwise I use the file generator if I want to sent a plain XML document > that is on disk. > > For data from other sources, I've been moving towards making java objects > that are XMLizable, and having a generator that just calls .toSAX on them. > -pete Maybe a stupid question... but: why? Do you really gain in performance, or in architecture design? (I mean comparing this to from XSP or Xinclude) - Tomas * Tom�s Espeleta - http://www.digival.es * ---------------------------------------------------- * Those who know don't talk. * Those who talk don't know. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: