title: Update multiple entries through Web Deploy (MSDeploy) single parameter
body: <p>My web.config is like  -</p>
  
  <pre><code>&lt;configuration&gt;
    &lt;abc&gt;
      &lt;xyz&gt;
        &lt;service name="name1" value="value1" /&gt;
      &lt;/xyz&gt;
      &lt;xyz&gt;
        &lt;service name="name2" value="value2" /&gt;
      &lt;/xyz&gt;
      &lt;xyz&gt;
        &lt;service name="name3" value="value3" /&gt;
      &lt;/xyz&gt;
    &lt;/abc&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>and SetParameters.xml is</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;parameters&gt;  
    &lt;setParameter name="DummyURL" value="http://www.google.com" /&gt;
  &lt;/parameters&gt;
  </code></pre>
  
  <p>How should I make the parameters.xml so that through a single parameter (above) I can update the values at /configuration/abc/xyz/service[name1]/value, /configuration/abc/xyz/service[name2]/value, /configuration/abc/xyz/service[name3]/value.....(basically at all three places). At the moment my parameters.xml looks like - </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;parameters&gt;
    &lt;parameter name="DummyURL" description="a b c"
             defaultValue="default"&gt;
      &lt;parameterEntry kind="XmlFile" scope="Web.config" match="/configuration/abc/xyz/a[@name='name1']/@value" /&gt;    
    &lt;/parameter&gt;
  &lt;/parameters&gt;
  </code></pre>
  
  <p>and it is only updating at single place. I cannot add multiple xpaths through multiple parameterEntry element. Please suggest. I would not prefer to add multiple params in SetParameters.xml file as the value is same.</p>