> -----Original Message-----
> From: Anoop Aryal [mailto:[EMAIL PROTECTED]
>
... 
> Wishful/hopeful thinking:
> -------------------------
> something like this would be optimal:
> 
> Generators:        A          B          C        
>                    |          |          |        
>                    -----------------------        
>                               |                   
> Aggregation:                  D                   
>                               |
> Transformation:               E ----------------- tee* --          
>                               |                          |
>                    --------------------------            |
>                    |        |        |      |            |
> Formatting:       rtf      xsl      pdf    html**        |
>                                                          |
>                                                          |     
>                                      formatted as a png/jpg/svg and
>                                      stored in cocoon cache using a
>                                      unique key** for the subsiquent 
>                                      request
>                                  
> *) tee as in make a copy and pass one copy to the html 
> formatting step.
> and another to the image formatting step.
> **) the key would be predetermined so that the src element in the html
> would know which image url to put in. and another pipeline would deal
> with requests for images keyed off this way.
> 

I'd say Read/WriteDOMSessionTransformer is your missing tee-piece.

http://cocoon.apache.org/2.1/userdocs/transformers/writedomsession-trans
former.html

In the HTML pipeline, you copy the data into the session context with
WriteDOM and pick it up again in the GIF pipeline with ReadDOM.

HTH, Alfred.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to