cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiloliddin Karimov <>
Subject Is possible generate XML source that stored in session?
Date Wed, 17 Jul 2002 15:01:47 GMT

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"
  <map:generate type="serverpages" src="templates/show.xsp"/>
  <map:transform src="stylesheets/myapp.xsl"/>

<!-- 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 src="stylesheets/result.xsl"/>
Instead of source.xml file, must paginate XML source that get from session.
How can I do it?

Thanks in advance!

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message