using System.Xml.Serialization;
public static void Main()
var xmlIn = @"<Container xmlns:i='http://www.w3.org/2001/XMLSchema-instance' xmlns='DM'>
<IsConsigned>false</IsConsigned>
<LockState>Unlocked</LockState>
<SourceType i:nil='true' />
<Id>04216194-4f62-47ee-ab21-c1053d01bf1e</Id>
<Created>2012-08-21T09:29:10.528321+02:00</Created>
var xml = XDocument.Parse(xmlIn);
string test = xml.Root.Element(d+"Owner").Value;
string id = xml.Root.Element(d+"Id").Value;