I've got a web.config file, with the AppSettings stored in it. These are stored as follows:
Code: Select all
<configuration>
<appSettings>
<add key="dataDSN" value="provider=ASAProv.90;data source=LLB_V9Server123;uid=ASPNET;pwd=aspnet_llb" />
<add key="logDSN" value="provider=ASAProv.90;data source=systemsupportDev;uid=ASPNET;pwd=aspnet_ss" />
</appSettings>
<!-- lots of other sections etc. -->
</configuration>
The XML editor only gives options to update the 'first matching', 'all matching' or 'add as new sibling'. The problem with the above config file structure is that the two appSettings appear in the editor with the same element names - i.e. 'add', with no mechanism for further differentiating between the dataDSN and logDSN values.
Is there a way of achieving this with the XML editor, or do I have to use a different mechanism?
Thanks,
James