Re: Re: PHP & XML
| From: | Rasmus Lerdorf | Date: | Fri, 07 Dec 2001 23:36:31 +0000 |
| Subject: | Re: Re: PHP & XML | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72905@lists.php.net to get a copy of this message | ||
Most people never mix XML and PHP in the same file. Let's not
inconvenience the masses for the benefit of the few.
-Rasmus
On Sat, 8 Dec 2001, Jani Taskinen wrote:
>
> Yet another good reason to get rid of them. :)
>
> --Jani
>
>
> On Fri, 7 Dec 2001, Rasmus Lerdorf wrote:
>
> >No, you need to disable short_tags and use <?php ... ?> for all your PHP
> >tags if you are going to mix PHP and XML tags in the same file.
> >
> >-Rasmus
> >
> >On Fri, 7 Dec 2001, Steve Haemelinck wrote:
> >
> >> Hi Guys
> >>
> >> I am developing with PHP and XML. Now I experience some problem with the
> >> processing instructions of xml (<?xml version="1.0"
> >> encoding="UTF-8"?>)
> >> which causes PHP to return a parsing error.
> >> This is logical because <? is also the short-tag processing instruction for
> >> PHP. Does anybody got an idea how to solve this problem without disabling
> >> the short-tags in the php.ini fiel ?
> >>
> >> Thx
> >>
> >>
> >>
> >
> >
> >
>