Robin Berjon said at 18:10 20-2-2002:

>On Wednesday 20 February 2002 18:05, Melvyn Sopacua wrote:
> > Somebody at a forum of ours, suggested it should be possible
> > to pass notes between mod_perl and mod_php, thus making it
> > possible to combine AxKit with PHP.
>
>I guess that using $r->notes() you could stick or retrieve something between
>several apache modules. However, I don't know if you'll be able to have both
>PHP and AxKit handle the request as both will try to grab hold of the content
>handling slot.

Hmm.
The annoying part for me, is:
what would be the configuration?

PHP is handled via a mime-type mapping.
So - would something like this be even possible:

<Files "*.pxml">
         SetHandler AxKit
         AxAddTypeMap text/xsl Apache::AxKit::Language::LibXSLT
         #????????
         AxAddTypeMap application/x-httpd-php mod_php
</Files>

What would be the goal, in this conversion, would broadly ammount to:
1) Apply an XML shell around legacy content
2) Write a stylesheet which leaves the '<?php processing instructions' alone
    and which marks them as CDATA.
3) Pass the result to php

The '<?php processing instructions' is probably a problem in itself, but I'll
leave that to when I'm trying to bring this into practice.

Just want to know, what is possible.



Best regards,

Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\

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

Reply via email to