title: Getting Xelement.elements() using a path
body: <p>I have some xml like this.</p>
  
  <pre><code> &lt;Map&gt;
    &lt;Pr&gt;
      &lt;Dir .... &gt;
      &lt;Dir .... &gt;
    &lt;/Pr&gt;
   &lt;/Map&gt;
  </code></pre>
  
  <p>I have the parent element to call .Elements on. I looked this up, but I cant figure out how to do get the element Pr directly</p>
  
  <pre><code>XElement element = (from item in parentElement.Elements("Map/Pr") select item).FirstOrDefault();
  </code></pre>
  
  <p>Path I provided seems to be incorrect. Whats the right format? I tried "Map" + "Pr" or "//Map/Pr" etc.</p>
  
  <p>Thanks for looking</p>