On Friday, 13. December 2002 17:08, Dakkar wrote:
> I'm trying to do the following:
> - have an XSP generate some content
> - process the output with XSLT
> AxAddRootProcessor application/x-xsp NULL
> {http://www.apache.org/1999/XSP/Core}page AxAddRootProcessor
> application/x-xsp NULL {http://apache.org/xsp/core/v1}page
>
> AxRootAddProcessor text/xsl nodepresent.xsl node
Sorry, AxAddRootProcessor doesn't work that way. It only examines the root
node of the original document, not of intermediate stages.
> And why, if I remove the 'AxAddRootProcessor's and replace them with:
> -------
> <Files "node">
> AxAddProcessor application/x-xsp NULL
> AxAddProcessor test/xsl nodepresent.xsl
> </Files>
> ------
> AxKit alternatively returns the raw XSP or a half-error saying 'this
> XML has no style information associated'?? (the XSP file name is
> 'node', and NO, there must be no need for the extension).
Whenever something happens on one request and something else happens on the
same request repeated, it is time to restart your apache server. AxKit
employs quite nifty caching, checking thoroughly before cache content is
declared valid, but one thing it will cannot detect are changes to
..htaccess-files. Any sort of strange things can happen if you change AxKit
related options in .htaccess without restarting apache.
Try again, then see if you can get things right by using "SetHandler AxKit" or
an AddHandler line like this "AddHandler axkit .xsp .xml".
--
CU
Joerg
PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]