title: XDocument getting Root Attributes values
body: <p>How can I get the value of title1 from this string in a datatable using xDocument</p>
  
  <pre><code>&lt;Person ActionType = "Update"  Title1="Miss" /&gt;
  </code></pre>
  
  <p>I tried descendants, XAttributes and all sorts...Maybe input is wrong but </p>
  
  <pre><code>XDocument xml = XDocument.Parse(row["XMLTransaction"].ToString());
  
  IEnumerable&lt;XAttribute&gt; query =
  from transaction in xml.Root.Elements()
  select transaction.Attribute(attribute);
  </code></pre>