I'm having trouble using a Provider, when I try to specify a Stylesheet.

my .htaccess file looks like this.
---------------------
<Files *.xml>
  PerlHandler AxKit
  AxProvider Edu::Provider::Student

#  AxAddProcessor text/xsl /xslt/user.xsl

  AddType text/xml .xml
  AddHandler axkit .xml
</Files>
---------------------
The Provider output looks like this.
---------------------
<?xml version="1.0"?>
<users>
  <username>rob</username>
  <firstname>Robert</firstname>
  <fullname>Robert William Ferney</fullname>
  <surname>Ferney</surname>
  <email>[EMAIL PROTECTED]</email>
</users>
---------------------
When I uncomment the AxAddProcessor I get the following error in my
apache error log.
----------------------
compilation error: file /user/rob.xml element users
xsltParseStylesheetProcess : document is not a stylesheet
[Wed Jun 25 17:00:01 2003] [error] [client 192.168.0.4] [AxKit] [Error]
Can't call method "transform" on an undefined value at
/usr/lib/perl5/site_perl/5.6.1/i386-linux/Apache/AxKit/Language/LibXSLT.pm line 120.
----------------------
Any ideas as to what is going on?




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

Reply via email to