title: XDocument get all nodes with attributes
body: <p>I have the following XML document:</p>
  
  <pre><code>&lt;parameters&gt;
      &lt;source value="mysource" /&gt;
      &lt;name value="myname" /&gt;
      &lt;id value="myid" /&gt;
  &lt;/parameters&gt;
  </code></pre>
  
  <p>I'm trying to parse this XML, using XDocument so that I would get a list (Dictionary) containing the node and it's value:</p>
  
  <pre>
  source => mysource,
  name => myname,
  id => myid
  </pre>
  
  <p>Any ideas on how I can do this?</p>