If your site is predominantly PHP you might want to take a look at
Krysalis (http://www.interakt.ro/products/Krysalis/index.php). It is
another XML publishing framework and development environment similar to
AxKit and Cocoon. I have never worked with it, but it immature in
comparison with AxKit. Depending on what you need to do, it might worth
looking into.

One feature it seems to be missing is XSP, so if you need XSP processing
you will need to stick with AxKit. It also only does XSLT, there is no
equivalent to using XPathScripts.

Nyk Cowham
Forum One Communications
http://www.forumone.com/
Communicate Collaborate Change the world

> Is it possible to write a PHP script that generates XML which 
> is then fed 
> through AxKit? I've been trying variations around the following:
> 
> | <?php
> | header("Content-type: text/xml");
> | echo '<?xml version="1.0" encoding="ISO-8859-1"?>
> | <?xml-stylesheet href="article.xsl" type="text/xsl"?>'; ?>
> | 
> | <page>
> | <!-- blah, blah, stuff that gets processed by article.xsl -->
> | </page>
> 
> With AxKit disabled PHP serves the file (and then the browser 
> applies the 
> stylesheet ;)) but with AxKit enabled in the directory it 
> serves the raw 
> php script as application/x-httpd-php.
> 
> <Directory> config was:
> 
> | SetHandler perl-script
> | PerlHandler AxKit
> | AxCacheDir /var/cache/axkit 
> | AxDebugLevel 5
> | AxLogDeclines On
> | AxAddStyleMap text/xsl Apache::AxKit::Language::LibXSLT
> 
> And the error_log (edited for brevity) says:
> 
> | [warn] [client ...] [AxKit] handler called for /keys/
> | [warn] [client ...] [AxKit] checking if we process this resource
> | [warn] [client ...] [AxKit] '/path/to/keys' is a directory
> | [warn] [client ...] [AxKit] provider declined
> | [warn] [client ...] [AxKit] handler called for /keys/index.php
> | [warn] [client ...] [AxKit] checking if we process this resource
> | [warn] [client ...] [AxKit] '/path/to/keys/index.php' not 
> recognised as XML
> | [warn] [client ...] [AxKit] provider declined
> 
> if I reference /keys/, or:
> 
> | [warn] [client ...] [AxKit] handler called for /keys/index.php
> | [warn] [client ...] [AxKit] checking if we process this resource
> | [warn] [client ...] [AxKit] '/path/to/keys/index.php' not 
> recognised as XML
> | [warn] [client ...] [AxKit] provider declined
> 
> if I reference /keys/index.php
> 
> Am I doing something stupid or just attempting the impossible?
> 
> Cheers,
> Gary
> 
> [ [EMAIL PROTECTED] ][ GnuPG 85A8F78B ][ http://inauspicious.org/ ]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to