title: HtmlAgilityPack Multiple Types of Descendants
body: <p>I am trying to select a divs, spans, labels, etc basically any element with a certain attribute.</p>
  
  <pre><code>IEnumerable&lt;HtmlNode&gt; allDivsWithItemType = _doc.DocumentNode.Descendants("div").Where(d =&gt; d.Attributes.Contains("itemtype"));
  </code></pre>
  
  <p>Is there a way to rope all descendants into one like above? Since above only finds divs obviously.  I am trying to avoid duplicate code to add a whole extra line to replace one word.</p>
  
  <p>For Example (Doesn't work)</p>
  
  <pre><code>IEnumerable&lt;HtmlNode&gt; allDivsWithItemType = _doc.DocumentNode.Descendants("*").Where(d =&gt; d.Attributes.Contains("itemtype"));
  </code></pre>