curl-library
Error posting XML data
From: Leslie De Jesus <ldejesus_at_gmail.com>
Date: Fri, 15 Apr 2005 21:00:31 -0400
Date: Fri, 15 Apr 2005 21:00:31 -0400
Hello,
I am a newbie with XML, I need to post info in XML. Created a small
prog. following the different examples provided. I have used cURL for
other post and it works ok.
I get the following error:
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource
'file:///C:/...
$XPost = "<?xml version='1.0'?>";
-------------------------------^
I am sure it is a simple thing but not obvious to me at all, help will
be appreciated.
Thanks
Les
Received on 2005-04-16