2/ You have not supplied your XML file, and a parse error is cause when an invalid XML file is read in.
3/ Do you have error_reporting(E_ALL) set in your script which would provide more diagnostic error information and an error code ?
Please supply the source file so we can verify it is valid and / or well formed.
Cheers - Neil.
At 21:16 22/07/2003 +0000, you wrote:
Message-ID: <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] From: "BlackZ" <[EMAIL PROTECTED]> Date: Wed, 23 Jul 2003 00:52:59 +0600 Subject: xml trouble under Apache MIME-Version: 1.0
Just a script: <? if(!$dom = domxml_open_file("test1.xml")) { echo "Error while parsing the document\n"; exit; } ....... ?> It running well in console mode. But when I'm point my browser to one it says: "Error while parsing the document". Apache log says: "Error parsing xml-file"
1. DOMXML enabled under PHPINFO. 2. path to xml file is correct
Please help !!!
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php