title: get xml node child element value based on the parent attribute value
body: <p>I've one xml like:-</p>
  
  <pre><code> &lt;SkillMap&gt;
     &lt;ExitPoint ID="01"&gt;
      &lt;NodeName&gt;abcd&lt;/NodeName&gt;
     &lt;/ExitPoint&gt;
     &lt;ExitPoint ID="04"&gt;
      &lt;NodeName&gt;defg&lt;/NodeName&gt;
     &lt;/ExitPoint&gt;
     &lt;ExitPoint ID="22"&gt;
      &lt;NodeName&gt;mnop&lt;/NodeName&gt;
     &lt;/ExitPoint&gt;
    &lt;/SkillMap&gt;
  </code></pre>
  
  <p>I am trying to get the value of the <code>&lt;ExitPoint&gt;</code> node based on the ID value i.e. if i enter the ID as 01 it should give "abcd" and if 22 it should give "mnop" and so on, but i'm not getting it, tried lot, please help.</p>
  
  <p>Thanks,
  Ars</p>