I am trying to deserialize the following xml
-
As an alternative to the XmlRoot attribute, you can also use the alternative XmlRootAttribute constructor of XmlSerializer to override when the element name or namespace differ:
var serializer = new XmlSerializer(typeof(myrootNS),
new XmlRootAttribute
{
ElementName = "myroot",
Namespace = "http://jeson.com/"
});