On 28.Jul.2003 -- 01:34 PM, Lionel Crine wrote:
> Thanks for the answer  :
> 
> 
> At 12:52 28/07/2003 +0200, you wrote:
> >Or your transformers need to
> >communicate inline through the data stream.
> 
> 
> Is there a way to do that ?

Sure. Your first transformer can add any XML to the data stream and
the second can act on it since it needs to read all XML anyway.

BTW you can access the session in your transformers since the object
model is passed at setup time to it -- you just may not pass the
session data through the sitemap to the second transformer! But
beware: both transformers *run in parallel* so if the first
transformer modifies the session at the end, the second sees the
change only very late in the process!

 t    G     T  T  T  S
 i    root-->-->-->-->
 m    h1---->-->-->-->
 e    /h1--->-->-->-->
 |    /root->-->-->-->
 V

        Chris.
-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

Reply via email to