Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-15 Thread aaldridg
: 876-1300 "Piroumian, Konstantin" <[EMAIL PROTECTED]> on 14/11/2001 14:39:11 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Generators.. was: Re: SV: What is Cocoon good for??? This can be implemented as a logicsheet and you'll forget about

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Peter Royal
On Wednesday 14 November 2001 03:47 am, you wrote: > > 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 >

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Piroumian, Konstantin
gt; System.err.println("Error in SAX (toSAX) "); > e.printStackTrace(); > } > > instance.toSAX(handler); >//System.out.println("Finished converting to DOM"); > } > > &g

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Karl Oie
StackTrace(); } instance.toSAX(handler); //System.out.println("Finished converting to DOM"); } Karl Oie <[EMAIL PROTECTED]> on 14/11/2001 12:57:36 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: Generators.. was: Re:

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread aaldridg
} instance.toSAX(handler); //System.out.println("Finished converting to DOM"); } Karl Oie <[EMAIL PROTECTED]> on 14/11/2001 12:57:36 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: RE: Generators.. was: Re: SV: What is Cocoon good

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Karl Oie
>I'm happy to share some code with you if you need it. > >Regards, > >Anthony Aldridge >Lead Application developer please do, as i find working examples a great way to learn! :-) mvh karl oie - Please check that your question

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread aaldridg
AIL PROTECTED]> on 13/11/2001 20:04:37 Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: Generators.. was: Re: SV: What is Cocoon good for??? On Tuesday 13 November 2001 02:53 pm, you wrote: > having code within your XSP page that reads XML from some external so

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Tomas Espeleta
> 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? disag

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-14 Thread Tomas Espeleta
> 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? disag

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread Peter Royal
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 o

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread David Rosenstrauch
At 11:36 AM 11/13/01 -0800, you wrote: >I think I need some clarity here. Don't XSP pages compile into generators? >What can be done from a hand coded Generator that can't be done >(dynamically) from XSP? I have been thinking about hand code generaters as >'special case' generators that don't ch

Re: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread David Rosenstrauch
I don't know if that's the official "right way to do it". It was just MHO that the most appropriate place to feed in XML was via a generator. Maybe some other people (including some of the Cocoon developers) can shed some additional light on this. DR At 07:01 PM 11/13/01 +0100, you wrote:

RE: Generators.. was: Re: SV: What is Cocoon good for???

2001-11-13 Thread Mitchell Christensen
I think I need some clarity here. Don't XSP pages compile into generators? What can be done from a hand coded Generator that can't be done (dynamically) from XSP? I have been thinking about hand code generaters as 'special case' generators that don't change very often. -Mitch -Original Mes