title: getting XMLNode attribute's values
body: <p>I am working on asp.net application. I have a function like this:</p>
  
  <pre><code>   Public Function ExtractText(node As XmlNode) As String
  
     End Function
  </code></pre>
  
  <p>I need to pass following XML as input to above function:</p>
  
  <pre><code>&lt;myrequirements Id="7743" Type="tcg_Concept20_sc_323256419566173_context" StartNode="2724" EndNode="2869"&gt;
  &lt;/myrequirements&gt;
  </code></pre>
  
  <p>Then I need to get StartNode and EndNode attributes values.</p>
  
  <p>Do I need to use XPath. Please suggest.</p>
  
  <p>Regards,
  Asif</p>