I'm trying to parse an XML, which is at this url:
try
{
var xDoc = XDocument.Parse(requestedURL);
Response.Write("asd: " + xDoc.Descendants("entry").Count());
}
catch (Exception err)
{
Response.Write(err.Message);
}
but it replies with Data at the root level is invalid. Line 1, position 1.
Where am I wrong?