kip         2003/05/25 12:22:14

  Added:       t/conf   startup.pl.in extra.conf.in
  Log:
  Adding to the test suite.
  
  Revision  Changes    Path
  1.1                  xml-axkit/t/conf/startup.pl.in
  
  Index: startup.pl.in
  ===================================================================
  use strict;
  use warnings;
  BEGIN {
      use lib "@ServerRoot@/lib";
  }
  
  1;
  
  
  
  1.1                  xml-axkit/t/conf/extra.conf.in
  
  Index: extra.conf.in
  ===================================================================
  PerlModule AxKit
  
  # AxKit globals
  AxNoCache On
  AxDebugLevel 10
  AxStackTrace On
  
  # Language processors
  <Perl>
  my $has_libxslt = 0;
  
  eval { require XML::LibXSLT; };
  unless ($@) {
      $AxAddStyleMap = "text/xsl Apache::AxKit::Language::LibXSLT";
      $has_libxslt = 1;
  }
  
  unless ( $has_xslt == 1 ) {
     eval { require XML::Sablot; };
     unless ( $@ ) { 
          $AxAddStyleMap = "text/xsl Apache::AxKit::Language::Sablot";
     }
  }
  </Perl> 
  
  AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP;
  
  <Location "/xslt-basic/01">
      SetHandler axkit
      AxContentProvider Provider::Tiny
      AxResetProcessors
      AxAddProcessor text/xsl /style/xslt-basic/01.xsl
  </Location>
  
  
  
  

Reply via email to