title: Update config file with xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"
body: <p>I am working on a .Net project which updates .config files using xsl.transform. It works perfectly with a .config file which has <code>&lt;configuration&gt;</code> node, but it does not update the .config file with <code>&lt;configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;</code> node. It does not give an error and copies everything from the .config file, but it does not update the desired element.</p>
  
  <p>So here is a short example between the .config files:</p>
  
  <p>-this is updated:</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;configSections&gt;
      -sections-
    &lt;/configSections&gt;
    -settings-
  &lt;/configuration&gt;
  </code></pre>
  
  <p>-this is not updated:</p>
  
  <pre><code>&lt;configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"&gt;
    &lt;configSections&gt;
      -sections-
    &lt;/configSections&gt;
    -settings-
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Is there a solution to update the .config files with the xmlns attribute of the configuration element?</p>
  
  <p>Thank you.</p>