Hi, im pretty new to cocoon2 so i need some advice about the best aproach
for my problem;

I got a quite large XML file which i use a XSL stylesheet to extract only
parts of, but the XML file might change so i set this up as the generator.

<map:match pattern="toc.html">
        <map:generate src="largefile.xml"/>
        <map:transform src="toc.xsl"/>

        ... perform logic on the result based on sessions ...

        <map:serialize type="html"/>
</map:match>

Then based on the the user's session state i want to perform logic on the
extract, to hide and show elements (this is a session based toc).

What can i use to do this, a XSP, JSP, write a new
generator/transformer/serializer ?

Is it possible to place session handling in a custom serializer? is this a
job for a transformer, and will i then have to implement it myself and is it
then possible to add session handling?

Should i create a custom generator, if so how to implement caching and
session handling?

I'm quite good at java, but i'm new to cocoon and need some pointers in the
right direction.

in advance thanks!

mvh Karl


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

Reply via email to