Hi,
I'm having a basic difficulty getting any of the StyleChooser methods to
work...
At the moment, I'd like to get the FileSuffix method working, but I keep
getting the 'default' sytlesheet. I'm wondering if I'm missing something
obvious?
I'm using AxKit 1.6 on FreeBSD4.6
in httpd.conf
# AxKit stuff
# enable AxKit processing
PerlModule AxKit
AddHandler axkit .xml .xsp .dkb
# enable various transform modules - this assumes you use libxslt, not
sablotron
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
# uncomment this to gzip all output - faster transfer
# AxGzipOutput On
# if you are playing with your config files a lot, use this:
AxNoCache On
# add some nice taglibs - leave out if you don't have them installed
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::PerForm
AxAddXSPTaglib AxKit::XSP::Exception
# Some extra AxKit stuff
PerlTypeHandler Apache::AxKit::StyleChooser::FileSuffix
SetHandler perl-script
PerlHandler AxKit
In XML
<?xml version="1.0"?>
<?xml-stylesheet href="test2.xsl" type="text/xsl" title="default"?>
<?xml-stylesheet href="test3.xsl" type="text/xsl" title="print"
alternate="yes"?>
....
But, when I try to acess test.xml.print, I get the 'default' xsl.
Any thoughts?
Many thanks in advance,
phillip.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]