<root>1234</root>
how do I pasrse this single xml node and it comes from web service response, I am using:
void webservice_completedeventArgs()
{
XDocument doc = XDocument.Parse(e.Result);
}
this code runs very well in Emulator but in device when I debug, I am getting this error:
"Data at Root level is invalid"
I think its happening due to, There is no XML Dclaration in web service response like
"<XML Version 1.0 Encoding UTF-8?>"
So how do I parse that single XML node. Please any help would be greatly appreciated