PS: I tried making a plain on disk xml file in another directory like
such..
---------------------------
<?xml version="1.0"?>
<?xml-stylesheet href="/xslt/user.xsl"  type="text/xsl"?>
<users>
  <username>rob</username>
  <firstname>Robert</firstname>
  <fullname>Robert William Ferney</fullname>
  <surname>Ferney</surname>
  <email>[EMAIL PROTECTED]</email>
</users>
--------------------
and it works

On Wed, 2003-06-25 at 17:19, Robert Ferney wrote:
> 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]


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

Reply via email to