嗨,这是一个巨大的文件,我需要将元素“AccumulatorFactor”的值更改为元素“价格”
示例:节点 Prepaid2Prepaid 中的价格为 60,因此元素“AccumulatorFactor”也应为 60。
<NodeCopy><Node>SC14
<Condition>ServiceClass
<Comment>SC 14 with access fees of 12500 for 30 days</Comment>
<Values>14</Values>
</Condition>
<Node>Community CUG
<Node>Prepaid2Prepaid
<Condition>BooleanOperator
<Operation>AND</Operation>
<Condition>NumberList
<Type>0</Type>
<Number>75</Number>
</Condition>
<Condition>CommunityId
<Value>1-999</Value>
</Condition>
</Condition>
<Tariff>Rate
<UnitType>Time</UnitType>
<Price>60.0
<Factor>60</Factor>
</Price>
<Interval>1
<Factor>1</Factor>
</Interval>
<UpdateType>Active</UpdateType>
<AccumulatorFactor>0.0</AccumulatorFactor>
</Tariff>
</Node>
</Node>
<Node>A2A
<Condition>NumberList
<Type>0</Type>
<Number>75</Number>
</Condition>
<Node>Price
<Tariff>Rate
<UnitType>Time</UnitType>
<Price>163.2
<Factor>60</Factor>
</Price>
<Interval>1
<Factor>1</Factor>
</Interval>
<UpdateType>Active</UpdateType>
<AccumulatorFactor>0.0</AccumulatorFactor>
</Tariff>
</Node>
</Node>
<Node>All Operators
<Condition>NumberList
<Type>0</Type>
<Number>77,78
70
76
2911,1108,1177
79
71
3,4,2
121,185,200,91,888,971,2070,890,913,189
555,809</Number>
</Condition>
<Node>Price
<Tariff>Rate
<UnitType>Time</UnitType>
<Price>178.8
<Factor>60</Factor>
</Price>
<Interval>1
<Factor>1</Factor>
</Interval>
<UpdateType>Active</UpdateType>
<AccumulatorFactor>0.0</AccumulatorFactor>
</Tariff>
</Node>
</Node>
</Node>
</NodeCopy>