You are looking for XDocument.Parse
– XDocument.Load
is for files not xml strings:
var doc = XDocument.Parse(xmlString);
You are looking for XDocument.Parse
– XDocument.Load
is for files not xml strings:
var doc = XDocument.Parse(xmlString);