title: How to select all nodes with the same name for different parent nodes?
body: <p>Let's say I have the following xml:</p>
  
  <pre><code>&lt;root&gt;
    &lt;person&gt;
      &lt;name&gt;John&lt;/name&gt;
    &lt;/person&gt;
    &lt;children&gt;
      &lt;person&gt;
        &lt;name&gt;Jack&lt;/name&gt;
      &lt;/person&gt;
    &lt;/children&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>Is it possible to select both persons at once? Assuming that I don't know that the other person is in the children tag, they could easily be in the spouse tag or something completely different and possibly in an other child. I do know all persons I need are in the root tag (not necessarily the document root).</p>