Don't know if will work but what if you try:

<? print "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" ?>

I've nerver worked with XML but what I know is that you have to insert XML
code inside the html, like PHP. Another thing, I remember that my phpinfo()
used to show XML configuration.

I know it's not a real help and somebody will give a better answer but you
can try it.

Bruno.


----- Original Message -----
From: "Steve Haemelinck" <[EMAIL PROTECTED]>
To: "Brad S. Jackson (E-mail)" <[EMAIL PROTECTED]>; "Php-Db List
(E-mail)" <[EMAIL PROTECTED]>; "Php-Dev List (E-mail)"
<[EMAIL PROTECTED]>; "Php-General List (E-mail)"
<[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 4:53 PM
Subject: [PHP-DB] PHP & XML


> 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
>
>
> --
> PHP Database 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]
>


-- 
PHP Database 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