Hello all,

I think this one may have come up before but I haven't found any clean 
resolution despite extensive googling and some conversations with AxKit and PHP 
veterans.  

I'm using PHP 4.3.0, Apache 1.3.x, and AxKit/mod_perl.

I'm curious if anyone has managed to find an elegant solution for handling XSL 
transformations on XML output from a PHP script using AxKit, rather than 
whatever libraries might be available to do this transform as part of PHP.  I'd 
rather, if possible, keep my PHP code restricted to the purpose of generating 
XML (leaving XSLT out of it to be handled by Apache) and I'd also rather not 
write the XML to a file if I can avoid it.

As it stands, I have a script which outputs well-formed XML and the XSL 
instruction for a .xsl stylesheet which resides on the server.  If I save that 
XML as a test.xml file, AxKit happily transforms it upon a browser request for 
the test.xml.  If I don't save it, Apache just throws the XML results of my 
script to the mercies of whatever transformation engine the client browser 
might have.

Any thoughts on this?

Nathan Simpson





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

Reply via email to