For XML use parser: http://www.php.net/manual/en/ref.xml.php

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


bvr.

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

>Heya,
>
>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
>file...?
>
>Cheers
>
>Mart




-- 
PHP General Mailing List (http://www.php.net/)
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