cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiloliddin Karimov <HKari...@central.nbu.com>
Subject Is possible generate XML source that stored in session?
Date Wed, 17 Jul 2002 15:01:47 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message