Xdt conversion of internal values

I am trying to convert the following with an XML conversion file (xdt):

<serviceProperty name="Group">
  <expression>33</expression>
</serviceProperty>

I want to replace 33 with a different number. I figured out how to replace one event with

<expression xdt:Locator="XPath(//serviceProperty[@name='Group']/expression[text()='33'])" xdt:Transform="Replace" >48</expression>

But how do I do this work for all the relevant elements?

+5
source share
1 answer

You can try to do this in the .config file:

<serviceProperty name="Group">
    <expression xdt:Transform="Replace">45</expression>
</serviceProperty>
+3
source

All Articles