title: XDT Transforms - Transforming the transform
body: <p>I am creating a nuget package where part of the result of installing the package  is to modify my web.release.config.</p>
  
  <p>I have no problem inserting elements into this file with my web.release.config.install.xdt, but I need to keep the xdt:Transform and xdt:Locator attributes on the elements I am inserting because these transforms will need to be run when the application is built for deployment.</p>
  
  <p>So for instance when installing the nuget package I would like to see:</p>
  
  <pre><code>&lt;add key="serilog:using" value="Serilog.Sinks.Seq" xdt:Transform="InsertIfMissing" xdt:Locator="Match(key)" /&gt;
  </code></pre>
  
  <p>show up in the web.release.config including the xdt:Transform and xdt:Locator attributes. </p>
  
  <p>Is it possible to do this?</p>