title: XML C# Fast Way To Find Node
body: <p>Hi I am kind of new to XML and .NET.  I was wondering how I can parse the following file.  I want to be able to get the XmlNode based on an ID I will provide.  Example:</p>
  
  <pre><code>&lt;Data&gt;
  &lt;Question id="1"&gt;
  &lt;Answer&gt;ddd&lt;/Answer&gt;
  &lt;/Question&gt;
  &lt;/Data&gt;
  </code></pre>
  
  <p>I want to somehow do this:</p>
  
  <pre><code>XmlDocument myDoc = new XmlDocument();
  XmlElement myElem = myDoc.GetElementById("1");
  Response.Write("Answer: "+myElem.ChildNodes[0].InnerXML);
  </code></pre>
  
  <p>This should give me the output of: "Answer: ddd".  </p>
  
  <p>Any help is greatly appricated, thank you.</p>
  
  <p>Also I would prefer not to use LINQ, as I would like to master the XML component of .NET first.</p>