cURL / Mailing Lists / curl-library / Single Mail


Error posting XML data

From: Leslie De Jesus <>
Date: Fri, 15 Apr 2005 21:00:31 -0400


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

$XPost = "<?xml version='1.0'?>";

I am sure it is a simple thing but not obvious to me at all, help will
be appreciated.


Received on 2005-04-16