Re: PHP & XML
| From: | Martin Hughes | Date: | Thu, 20 Dec 2001 01:55:43 +0000 |
| Subject: | Re: PHP & XML | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-78282@lists.php.net to get a copy of this message | ||
Thanks! Much appreciated.
M
"Bas Van Rooijen" <bvr@xs4all.nl> wrote in message
news:php.general-78281@news.php.net...
>
> 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
>
>
>