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]>