title: How to get the Value of XElement
body: <p>I am parsing through an xml doc and I need to get the value of a <code>Property</code> element. As of right now I have a line of code that returns this:</p>
  
  <pre><code>&lt;Property name="ID" value="thevalueineed"/&gt;
  </code></pre>
  
  <p>Here is my line of code used.</p>
  
  <pre><code>var ID = from el in linkedinfo.DescendantsAndSelf("Property") 
           where (string)el.Attribute("name") == "ID" 
           select el.Attributes("value").ToString();
  </code></pre>
  
  <p>What would be the next step I am missing that would I get <code>thevalueineed</code> from that Element that I have in <code>var ID</code>?</p>