title: Xpath node selection - how to select 2 different elements?
body: <p>I am trying this as selecting multiple nodes via HtmlAgilityPack but it fails. So, what I am trying to do is collecting <code>a</code> nodes and <code>li</code> nodes inside the breadcrumbs <code>div</code> element.</p>
  <p>This is what I tried:</p>
  <pre><code>string srxPathOfCategory = &quot;//div[@class='breadcrumbs']//li or //div[@class='breadcrumbs']//a&quot;;
  var selectedNodes = myDoc.DocumentNode.SelectNodes(srxPathOfCategory);
  </code></pre>
  <p>What is the correct syntax?</p>