So I've tried modifying the page.xsl so that it instead outputs XML with the format:
<xsp:page language="Perl" xmlns:xsp="http://www.apache.org/1999/XSP/Core" xmlns:web="http://axkit.org/NS/xsp/webutils/v1" xmlns="http://www.w3.org/1999/xhtml"> <html> ... <web:header name="HTTP_USER_AGENT"/> ... </html> </xsp:page>
I've modified my conf to be:
AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP AxAddRootProcessor text/xsl stylesheets/news.xsl news AxAddRootProcessor text/xsl stylesheets/page.xsl news AxAddRootProcessor application/x-xsp . news
Unfortunately, AxKit fails to produce any output and crashes instead. It appears to do the first 2 XSLT transformations fine, but then dies on the XSP. The backtrace is appended to this email.
Firstly, is this the correct way to achieve what I want?
Possibly. Though I don't know personally how well XSP as anything but the first stage in the pipeline works these days. J�rg was going to work on that for 1.7, so I assume not so well ;-)
Second, if it is - any idea what the problem I'm having is?
My guess would be lack of "AxAddXSPTaglib AxKit::XSP::WebUtils", but I'm not entirely sure. It seems to be trying to create an attribute with no name...
Matt.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
