我想在另一个具有名称和属性的元素中选择一个元素。我想将Value =“ Changeme”更改为某种方法,而不替换名称为“ example1”的第一个值。下面的脚本将更改example2内部的内容,而不是example2> value
内部的内容Application.XML,这是我本地目录中的文件
<Configuration>
<Application>
<Section>
<Setting name="example1">
<Value></Value>
</Setting>
<Setting name="example2">
<Value>"Changeme"</Value>
</Setting>
</Section>
</Application>
</Configuration>