title: Remove XML element using WiX XmlConfig
body: <p>I have this XML file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" standalone="yes"?&gt;
  &lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt;
    &lt;dependency&gt;
      &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="Assembly1" version="1.1.0.0" type="win32" publicKeyToken="7XXXXXXXXXXXD"/&gt;
      &lt;/dependentAssembly&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="Assembly2" version="1.1.0.0" type="win32" publicKeyToken="7xxxxxxE89CD" /&gt;
      &lt;/dependentAssembly&gt;
    &lt;/dependency&gt;
  &lt;/assembly&gt;
  </code></pre>
  
  <p>I want to use Wix XmlConfig to remove the <code>AssemblyIdentity</code> element with <code>name="Assembly2"</code>.  I have tried this Wix configuration, but it is only working if the element I want to remove is the first element:</p>
  
  <pre><code>&lt;util:XmlConfig On="install"
                  Action="delete"
                  Id="DeleteElement"
                  Node="element"
                  File="[MANIFESTFOLDER]\test.exe.Manifest"
                  VerifyPath="//assembly/dependency/dependentAssembly/assemblyIdentity[\[]@name='Assembly2'[\]]"
                  ElementPath="//assembly/dependency/dependentAssembly"
                  Sequence="1"&gt;
  &lt;/util:XmlConfig&gt;
  </code></pre>
  
  <p>How can I remove my desired element even though it is not the top one?<br>
  (It doesn't necessarily have to be the last one, it can for example be the second last one.)</p>