On Wed, 29 Jan 2003, J�rg Walter wrote:
> > This is the more elegant version I came up with when I changed XSP.pm:
> >
> > sub start document {
> > return 'use Apache::AxKit::Plugin::Session;'."\n".
> > 'use Time::Piece;'."\n".
> > '# globally prepare a session object.'."\n".
> > 'my $session;'."\n".
> > 'sub handler { $session = Apache->request->pnotes("SESSION");
> > shift->SUPER::handler(@ ) }'."\n";
> > }
> >
> > Granted though, it might not work in the face of multiple attempts to
> > replace handler().
>
> Which is what the plugin does, if you load the Global taglib. So unless we
> create a way to add more than one handler-initialization, there seems to be
> no other way...
Well, its our code - lets add that other way then.
What I suggest we do is the same for start_document, but call it something
like start_xml_generator().
--
<!-- Matt -->
<:->get a SMart net</:->
Spam trap - do not mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]