Hello Chitharanjan, Could you, please, tell why you don't advise here to store data in session? What problems do you see?
Thank you. Roman Chitharanjan Das wrote: > These are the following options > > 1. Store the XML in the request object (request.setAttribute(“xml”, > xmlStr); > 2. return the XML in the hashmap. This xml can be accesses as > sitemap parameters in XSP. > 3. Also can be stored in Session (not advised)… > > Regds, > > Chiths > > -----Original Message----- > From: Mike Ash [mailto:[EMAIL PROTECTED]] > Sent:Thursday, May 23, 200212:02 PM > To: '[EMAIL PROTECTED]' > Subject: XML in actions > > I need something (action/generator) that talks to a backend system to > get xml. The problem is I can't use a generator because I also want > to use the xsp generator in the same pipeline. So how can I get an > action to return xml that is available to xsp as xml. > > Here is a sitemap example of what I was looking for > > <map:pipeline> > > <map:match type="request-parameter" pattern="login-test"> > <map:act type="ValidateUser" > > <map:act type="GetXml" > > <map:generate type="serverpages" src="xsp/home.xsp"/> > </map:act> > </map:act> > <map:transform src="xsl/simple.xsl"/> > <map:serialize/> > </map:match> > </map:pipeline> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>