Hi Philipp,

Philipp Reichmuth wrote:
> 
> Hello axkit-users,
> 
> I'm still having the same trouble getting AxKit 1.5 to run on Apache
> 1.3.14 on FreeBSD 4.5-STABLE, now with Perl 5.6.1. I've installed the
> dromedary example as test.xml with text.xsl, and when I process it,
> the server serves up the raw XML. Internet Explorer on a Windows
> client requests the XSL file separately, which causes AxKit to fail
> yet again.
> 
> When serving the XML file, it fails on "looking for mapping with style
> type text/xsl". This looks like it's processing the XML file to some
> extent.

<snip/>

> AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript

You also need an AxAddStyleMap directive for one of the supported XSLT
processors if you expect AxKit to do XSLT transformations. Either:

AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT

if you installed libxslt, or 

AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot

if you installed Sablotron.

<snip/>

> SetHandler perl-script
> PerlHandler AxKit

"SetHandler axkit" (without the quotes) is preferred over the two lines
above.

HTH,
-kip
-- 
print join ' ', map { ucfirst($_->getFirstChild->getData)}
XML::LibXML->new()->parse_string(join '', pack "c*", (60, 122, 62, 60,
97, 62, 106, 117, 115, 116, 60, 47, 97, 62, 60, 98, 62, 97, 110, 111,
116, 104, 101, 114, 60, 47, 98, 62, 60, 99, 62, 112, 101, 114, 108, 60,
47, 99, 62, 60, 100, 62, 88, 77, 76, 60, 47, 100, 62, 60, 101, 62, 104,
97, 99, 107, 101, 114, 60, 47, 101, 62, 60, 47, 122,
62))->findnodes('//*[name() != "z"]')->get_nodelist;

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

Reply via email to