For XML use parser:

PHP in .xsl file is possible, edit your httpd.conf

find this line:
AddType application/x-httpd-php .phtml .php .php3

and add extensions that should be parsed by PHP, like so:

AddType application/x-httpd-php .phtml .php .php3 .xsl

be carefull, anything between <? and ?> will be executed by
default. if this may conflict with the nature of the output (like .xml files)
you can edit your php.ini to force long open tags <?php

find this line:
short_open_tag = On

change On to Off


On Thu, 20 Dec 2001 01:34:58 -0000, Martin Hughes wrote:

>Is it possible to integrate XML with PHP - ie get data out of an XML file
>and format it in html using php? Or alternatively, use php within an XSL

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to