cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Coboos <cromo...@gmx.net>
Subject Re: where to store a large XML
Date Wed, 19 May 2004 08:55:54 GMT
gounis@osmosis.gr wrote:

>hi people
>
>i have a .xsp that read from a database and create a .xml file that 
>describe a tree, then the data from this xml are transformed to a 
>javascript tree
>
>the problem is that i need the xml data from the database in each request 
>to create the tree (navigation tree) but some times those data produce a 
>.xml with 7000 - 10000 nodes. so i have to wait some minutes to ge a 
>responce.
>
>my question is:
>
>where can i store temporary the produced XML (i can not use file system) 
>so not to have to call .xsp in each request? 
>is it possible to store the tree in SESSION ?
>  
>
WriteDOMSessionTransformer should be your friend:
http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-transformer.html

Regards
Stephan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message