Have you included the MIME type header to the .php file so that its treated as xsl?
If not, in your .php file put:
[php]header('Content-Type: text/xml');[/php]
see: http://www.dpawson.co.uk/xsl/sect2/mimetypes.html
for others.
make sure you place the header() call before any output is made, or else see ob_start() in the php.net manual. http://php.net/ob_start/
If you would rather use an xsl extension you can use mod_rewrite in apache to have the .xsl resource handled by your .php file.
digital-ether
Nearly a Posting Virtuoso
1,293 posts since Sep 2005
Reputation Points: 461
Solved Threads: 101