PerlModule AxKit
# AxKit globals
AxNoCache On
AxDebugLevel 10
AxStackTrace On
# Language processors
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";
}
}
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP;
#######################################
# Directives that control the individual configs
#######################################
SetHandler axkit
AxResetProcessors
AxAddProcessor text/xsl /style/xslt-basic/01.xsl
SetHandler axkit
AxResetProcessors
AxAddProcessor text/xsl /style/xslt-basic/02_include.xsl
SetHandler axkit
AxResetProcessors
AxAddProcessor text/xsl /style/xslt-basic/03_document_1arg.xsl
SetHandler axkit
AxResetProcessors
AxAddProcessor text/xsl /style/xslt-basic/04_document_2args.xsl