title: Same variable from multiple XML
body: <pre><code>$var1 = new SimpleXMLElement('CSVXML/xvar.xml', null, true);
  $var2 = new SimpleXMLElement('CSVXML/yvar.xml', null, true);
  </code></pre>
  
  <p>let's say I get variables from two diffrents XML files, in the first XML files </p>
  
  <pre><code>&lt;Number&gt;3698&lt;/Number&gt;
  &lt;InternalNumber&gt;1&lt;/InternalNumber&gt;
  &lt;Name&gt;Bob&lt;/Name&gt;
  &lt;Number&gt;3500&lt;/Number&gt;
  &lt;InternalNumber&gt;2&lt;/InternalNumber&gt;
  &lt;Name&gt;Mike&lt;/Name&gt;
  &lt;Number&gt;2775&lt;/Number&gt;
  &lt;InternalNumber&gt;3&lt;/InternalNumber&gt;
  &lt;Name&gt;Dan&lt;/Name&gt;
  </code></pre>
  
  <p>in the second XML I get the followings</p>
  
  <pre><code>&lt;player&gt;3698&lt;/player&gt;
  &lt;group&gt;A&lt;/group&gt;
  </code></pre>
  
  <p>I do this</p>
  
  <pre><code>$varID = $var1-&gt;Number;
  $varnumber = $var2-&gt;player;
  
  if ($varID == $varnumber ){
      echo '$var1-&gt;InternalNumber';
  }
  </code></pre>
  
  <p>is this possible ?</p>
  
  <p>I simply want to put out a variable, is A for XML! = B from XML2, is there anyway possible to do that?</p>