title: HtmlAgilityPack XML Capturing following sibling
body: <p>Below is the sample input for my HAP.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;html&gt;
    &lt;div class="category"&gt;Name:&lt;/div&gt;
    &lt;div class="category1"&gt;Company ABC&lt;/div&gt;
    &lt;div class="category"&gt;ID:&lt;/div&gt;
    &lt;div class="category1"&gt;1&lt;/div&gt;
    &lt;div class="category"&gt;Location:&lt;/div&gt;
    &lt;div class="category1"&gt;Home ABC&lt;/div&gt;
    &lt;div class="category1"&gt;Home DEF&lt;/div&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Using <code>XPath</code> is it possible to capture the following-sibling of an element delimited by the previous element attribute value? In this case, I would like to store it in a List:</p>
  
  <pre><code>"Name" , {"Company ABC"}
  "ID", {"1"}
  "Location", {"Home ABC", "Home DEF"}
  </code></pre>