iX 3/2001, p. 167: XML-Programming

Listing 1

AxKit Configuration

#
# in httpd.conf
#
PerlModule AxKit

#
# either in httpd.conf (as done in this case) or 
# in an .htaccess-Datei
#

<Location /xslt>
SetHandler perl-script
PerlHandler AxKit
PerlSetVar AxTranslateOutput 1
PerlSetVar AxOutputCharset ISO_8859-1
AxCacheDir /home/httpd/htdocs/axkit_cache
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
</Location>