title: HTMLAgilityPack XPath Expression not fetching all nodes
body: <p><strong>Scope</strong>
  I am trying to parse <a href="https://uspdigital.usp.br/jupiterweb/listarGradeCurricular?codcg=12&amp;codcur=12012&amp;codhab=1&amp;tipo=N" rel="nofollow">this page</a>. For those who are not familiar with portuguese, this page contains all the Subjects from a certain Course (university course), grouped by "Semester".</p>
  
  <p>So, everytime you see something like this "7º Período Ideal", you can understand like "Subjects
  from the 7th semester".</p>
  
  <p><strong>Problem</strong> I am using a XPath expression to get all the Table Rows from the table that contains those table rows.</p>
  
  <pre><code>XPath Used : //table[@cellspacing=2]//tr
  
  C# Statement : htmlMap.DocumentNode.SelectNodes("//table[@cellspacing=2]//tr");
  </code></pre>
  
  <p>The HtmlNodeCollection received by this C# statement, contains only the table row nodes until the one with this text <code>EAD0648    Gerência de Produtos / Serviços e Mercados</code>, right after the one with <code>5º Período Ideal</code>.</p>
  
  <p>This XPath "works", but i get all the <code>tr's</code>(as it is  expected), and this is not what i want.   </p>
  
  <pre><code>//tr
  </code></pre>
  
  <p>Why is the XPath not retrieving all the nodes after this node aswell ?</p>
  
  <p>Is there any cap of ammount of nodes retrieved ?
  Am i missing something ?</p>
  
  <p>Thanks in advance</p>