From users-return-55058-apmail-cocoon-users-archive=cocoon.apache.org@cocoon.apache.org Tue Sep 02 05:52:43 2003 Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 72731 invoked from network); 2 Sep 2003 05:52:43 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Sep 2003 05:52:43 -0000 Received: (qmail 72643 invoked by uid 500); 2 Sep 2003 05:51:31 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 72593 invoked by uid 500); 2 Sep 2003 05:51:31 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 72534 invoked from network); 2 Sep 2003 05:51:30 -0000 Received: from unknown (HELO warden.diginsite.com) (208.29.163.248) by daedalus.apache.org with SMTP; 2 Sep 2003 05:51:30 -0000 Received: from wlvims01.diginsite.com by warden.diginsite.com via smtpd (for daedalus.apache.org [208.185.179.12]) with SMTP; Mon, 1 Sep 2003 22:51:42 -0700 Received: from calexc01.digitalinsight.com ([10.200.0.20]) by wlvims01.digitalinsight.com (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35) with ESMTP id com for ; Mon, 1 Sep 2003 22:51:35 -0700 Received: by calexc01.diginsite.com with Internet Mail Service (5.5.2653.19) id ; Mon, 1 Sep 2003 22:51:35 -0700 Message-ID: <31DF72A980E5D511B48C000102BD868503EA7F12@calexc01.diginsite.com> From: Ralph Goers To: "'users@cocoon.apache.org'" Subject: RE: NEWBIE: Using request-scope XML doc as generator source? Date: Mon, 1 Sep 2003 22:51:34 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C37116.44494EA0" 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 ------_=_NextPart_001_01C37116.44494EA0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable What are you starting from? =20 In my case we are using EJBs that return Transfer Objects. I have = written a generic BeanGenerator that uses Betwixt to convert the Transfer Objects directly into SAX events. =20 Ralph -----Original Message----- From: David Benoff [mailto:dbenoff@covad.net] Sent: Monday, September 01, 2003 6:23 PM To: users@cocoon.apache.org Subject: NEWBIE: Using request-scope XML doc as generator source? Hi all, I have a Tomcat/Struts web app using JSP that I=92m trying to convert = to Cocoon. I have it working with the action classes writing temp XML = files to disk and Cocoon=92s file generator using the temp files for the XSLT transform, clearly not a very scalable setup. Is it possible to = configure Cocoon to use a JDOM document stored as a request or session attribute = as the generator XML source? Or perhaps some other alternative? =20 Thanks very much for any hints! =20 David Benoff --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 8/4/2003 ------_=_NextPart_001_01C37116.44494EA0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
What=20 are you starting from?
 
In my=20 case we are using EJBs that return Transfer Objects.  I have = written a=20 generic BeanGenerator that uses Betwixt to convert the Transfer Objects = directly=20 into SAX events.
 
Ralph
-----Original Message-----
From: David Benoff=20 [mailto:dbenoff@covad.net]
Sent: Monday, September 01, 2003 = 6:23=20 PM
To: users@cocoon.apache.org
Subject: NEWBIE: = Using=20 request-scope XML doc as generator source?

Hi=20 all,

I have a Tomcat/Struts = web app=20 using JSP that I=92m trying to convert to Cocoon.  I have it working with the = action=20 classes writing temp XML files to disk and Cocoon=92s file generator = using the=20 temp files for the XSLT transform, clearly not a very scalable = setup.  Is it possible to configure = Cocoon to=20 use a JDOM document stored as a request or session=20 attribute as the generator XML source?  Or = perhaps some=20 other alternative?

 

Thanks very much for = any=20 hints!

 

David=20 Benoff


---
Outgoing mail is certified Virus = Free.
Checked by=20 AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.507 / = Virus=20 Database: 304 - Release Date: = 8/4/2003

------_=_NextPart_001_01C37116.44494EA0--