title: Get All XML ChildNodes of Specific Type
body: <p>Given the following code:</p>
  
  <pre><code>XmlDocument doc = new XmlDocument();
  doc.Load(filename);
  XmlElement root = doc.DocumentElement;
  </code></pre>
  
  <p>What is the most efficient way to get all the child nodes of <code>root</code> that are of type "item". There can be more than one element of that type. But most elements are of other types.</p>
  
  <p>I know I can do this:</p>
  
  <pre><code>root["item"];
  </code></pre>
  
  <p>But that only returns a single element. How can I do the same thing but return all elements of that type?</p>
  
  <p>Thanks!</p>