Thanks, Eoghan. It works. Good learning experience for me. Found more information in the following links:
http://www.php.net/manual/en/language.basic-syntax.php http://www.php.net/manual/en/ini.sect.language-options.php#ini.short-open-tag "Eoghan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > instead of that line use this > <? > echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" > ?> > > > > Can you pls. help me understand why parsing error occurs and how to avoid > > it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php