Re: PHP & XML
| From: | Mike Eheler | Date: | Fri, 07 Dec 2001 19:21:10 +0000 |
| Subject: | Re: PHP & XML | ||
| References: | 1 | Groups: | php.db php.dev php.general |
| Request: | Send a blank email to php-dev+get-72893@lists.php.net to get a copy of this message | ||
You could also do it like:
<?= '<?xml version="1.0" encoding="UTF-8"?>' ?>
Mike
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