Hello,

I'm trying to create a setup where mod_perl scripts produce xml that
points to static XSL documents, and I'm trying to get AxKit to process
the xml with the xsl. 

The basic "dromedaries" test with static xml document works. From the
documentation I gathered that to get AxKit to process the output of a
mod_perl script, I need to use Apache::RegistryFilter and
Apache::AxKit::Provider::Filter. I followed the instructions in AxKit
Provider HOWTO. I have a simple perl script that just outputs the
"dromedaries" test xml. In httpd.conf I have

PerlModule Apache::RegistryFilter
PerlModule AxKit

<Location /learning/mob>
SetHandler  perl-script
PerlSetVar Filter On
AxProvider Apache::AxKit::Provider::Filter
PerlHandler Apache::RegistryFilter AxKit
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxDebugLevel 5
AxLogDeclines On
</Location>

When I try to access the test script, I get a server error. In the
error log I find

[Tue Mar  8 17:01:24 2005] [error] Can't locate object method "filter_register" 
via package "Apache" at /usr/lib/perl5/site_perl/5.8.0/
Apache/RegistryFilter.pm line 13.\n

I'm a bit stymied now. Probably some simple thing I didn't notice. Any
ideas?

I'm using Red Hat Enterprise 3.0 ES on x86, self-compiled Apache 1.3.31
with mod_perl-1.29. 

BTW, the tutorials in http://axkit.org/wiki/view/AxKit/Tutorials cannot
be reached, they give a server error.

Regards,

Janne



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

Reply via email to