Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 75679 invoked from network); 23 May 2005 09:25:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 May 2005 09:25:57 -0000 Received: (qmail 51555 invoked by uid 500); 23 May 2005 09:25:25 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 51506 invoked by uid 500); 23 May 2005 09:25:25 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 51427 invoked by uid 99); 23 May 2005 09:25:24 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=DATE_IN_PAST_96_XX,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of joerg.heinicke@gmx.de designates 213.165.64.20 as permitted sender) Received: from mail.gmx.net (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.28) with SMTP; Mon, 23 May 2005 02:25:20 -0700 Received: (qmail invoked by alias); 23 May 2005 09:24:53 -0000 Received: from p54B79BFB.dip0.t-ipconnect.de (EHLO [192.168.122.254]) [84.183.155.251] by mail.gmx.net (mp019) with SMTP; 23 May 2005 11:24:53 +0200 X-Authenticated: #3483660 Message-ID: <4285365F.9060701@gmx.de> Date: Sat, 14 May 2005 01:21:03 +0200 From: Joerg Heinicke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.6) Gecko/20050319 X-Accept-Language: de-de, de, en-us, en-gb, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Struts with cocoon problem References: <8f48bd9305010322423b2fc0ed@mail.gmail.com> In-Reply-To: <8f48bd9305010322423b2fc0ed@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 04.01.2005 07:42, Siva wrote: > Hi , > I am new to cocoon and I am using cocoon with struts using > Struts- cocoon plugin.In this, i am getting XML output from the action > class(making form bean,request and session objects as XML),now I want > to process that XML with xsl using cocoon pipeline.I don't know how to > pass the dom object into the pipline dynamically.I do not want to pass > my xsl to generator, instead i want to pass the the XML to sitemap > something like this > > > > > > > > > Is it possible??...Could you please suggest me the correct way of solving this.. Yes, you can use the XModuleSource. Search for it on the Cocoon Wiki (http://www.apache.org/cocoon). I don't know exactly how the integration into Cocoon is done with the Struts-Cocoon plugin, but if you store the DOM in the request you can reference it in the sitemap like the following: It works with the default FileGenerator. Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org