Sonny Sukumar wrote: > >Now, a session context is an XML document stored in the session. With the > >session transformer (see below) you can fetch xml data out of such a > >context and store data in it. > > Oh ok, so a session context is a session attribute that happens > to be an XML > doc. But of what class type is this XML doc? Just curious... > It's an internal class ;) (which uses a DOM tree)
> > > > > 3.) The doc furthermore has this line in it: > > > > > > <session:getxml context="authentication" path="/authentication/ID"/> > > > > > > So I assume <session:getxml ..../> is a logichsheet call, but > > > I've only seen > > > a logicsheet called xsp-session that provides an interface to > a Session > > > instance. And I don't see any "getxml" element for that logicsheet. > > > > >This is not a logicsheet but a transformer, so you can use this > transformer > >in your cocoon pipeline to set/get data to/from a session context, like > >the authentcation session context in the example above. > > Hmm, I thought if it's a transformer it should be called like > "<map:transform type="..." .../> > > Why isn't this the case? > It is the case, too. Your call is in the sitemap where you define the pipeline and the <session:getxml...> is in the xml stream flowing through the transformer. It's the signal for the session transformer to do something. Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
