title: XPath Select all children with specific parent node by attribute
body: <p>I want to select all children i.e images whose parent <code>div</code> with <code>id</code> is <strong>testRoot</strong>. The structure is unknown. I have simplified it here for understanding purpose. If it is XPath expression, that will be great.</p>
  
  <pre><code>        &lt;div id="testRoot"&gt;
  
  &lt;div class="panel"&gt;
                      &lt;a tabindex="-1" href="/mafuae/en/p/1236018"&gt;
                          &lt;picture&gt;
                              &lt;source srcset="/medias/sys_master/images/images/h4e/hf5/8820729217054/NikonSlr-H-Tablet.jpg" media="(min-width: 768px)"&gt;
                              &lt;img src="" alt="NikonSlr_H_Desktop.jpg"&gt;
                          &lt;/source&gt;
                          &lt;/source&gt;&lt;/source&gt;&lt;/picture&gt;
                      &lt;/a&gt;
                  &lt;/div&gt;
              &lt;div class="panel"&gt;
                      &lt;a tabindex="-1" href="/mafuae/en/storespromotions"&gt;
                          &lt;picture&gt;
                              &lt;source srcset="/medias/sys_master/images/images/h73/hd7/8818984321054/Ramadan2-14thMay-Tablet.jpg" media="(min-width: 768px)"&gt;
                              &lt;img src="" alt="Ramadan2_14thMay_Desktop.jpg"&gt;
                          &lt;/source&gt;&lt;/source&gt;&lt;/source&gt;&lt;/picture&gt;
                      &lt;/a&gt;
                  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is what i tried but...</p>
  
  <pre><code>doc.DocumentNode.SelectNodes("//div[@id='hero']/div/div")
  </code></pre>