title: Php SimpleXML find specific child node in any level in the parent
body: <p>I'm using SimpleXML to parse my xml file. I'm looping through it and in each node I need to get value of one specific tag. Here is an example</p>
  
  <pre><code>&lt;node&gt;
      &lt;child1&gt;&lt;/child1&gt;
      &lt;findme&gt;&lt;/findme&gt;
      &lt;child2&gt;&lt;/child2&gt;
  &lt;/node&gt;
  &lt;node&gt;
      &lt;child1&gt;
          &lt;findme&gt;&lt;/findme&gt;
      &lt;/child1&gt;
      &lt;child2&gt;&lt;/child2&gt;
  &lt;/node&gt;
  &lt;node&gt;
      &lt;child1&gt;&lt;/child1&gt;
      &lt;child2&gt;
        &lt;another&gt;
              &lt;findme&gt;&lt;/findme&gt;
        &lt;/another&gt;
      &lt;/child2&gt;
  &lt;/node&gt;
  </code></pre>
  
  <p>In each node I need to get <code>findme</code> tag. But I don't know in which level it can be, all I know is a tagname</p>