title: AS3 XML delete node
body: <p>I have this XML structure:</p>
  
  <pre><code>&lt;dbase&gt;
     &lt;employee&gt;
        &lt;Name&gt;NAME&lt;/Name&gt;
        &lt;Surname&gt;SURNAME&lt;/Surname&gt;
        &lt;Company&gt;COMPANY&lt;/Company&gt;
        &lt;Date&gt;DATE&lt;/Date&gt;
        &lt;Compare&gt;1377390433625&lt;/Compare&gt;
     &lt;/employee&gt;
  &lt;/dbase&gt;
  </code></pre>
  
  <p>I'd like to know how to search for the Compare value an delete the employee if there is a match.</p>
  
  <p>I'll appreciate any feedback.</p>