Hiloliddin, I think you may use readDOMSessionTransformer to do this.
Best regards. --------------------------------------------- Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html --------------------------------------------- > -----Original Message----- > From: Hiloliddin Karimov [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 5:02 PM > To: Cocoon-Users > Subject: Is possible generate XML source that stored in session? > > > Hi, > > I have Action that get result from DB and store it in session as XML, > and transformer that paginate the XML source. > > <!-- get results from DB and store it to session --> > <map:match pattern="show.html"> > <map:act set="process"> > <map:parameter name="descriptor" > value="context://myapp/templates/show_form.xml"/> > </map:act> > <map:generate type="serverpages" src="templates/show.xsp"/> > <map:transform src="stylesheets/myapp.xsl"/> > <map:serialize/> > </map:match> > > <!-- paginate source.xml file --> > <map:match pattern="show(*).html"> > <map:generate src="source/source.xml"/> > <map:transform type="paginate" src="pagesheets/images.xml"> > <map:parameter name="page" value="{1}"/> > </map:transform> > <map:transform src="stylesheets/result.xsl"/> > <map:serialize/> > </map:match> > Instead of source.xml file, must paginate XML source that get from session. > How can I do it? > > Thanks in advance! > Hill > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>