I believe this is because the PHP engine thinks that the "<?xml" is a PHP opening tag.

1. Turn off short PHP tags (short_open_tag in php.ini)

-OR-

2. Use this instead: <?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>

Joseph


"Doug Essinger-Hileman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> 
> When I include <?xml version="1.0" encoding="UTF-8"?> in my html 
> code, I get a parse error. The version is 4.1.2; phpinfo() reports 
> that XML support is turned on. Can anyone help with this?
> 
> Doug
> 
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to