XML Change Value (Legacy Format)

Description

Changes the value of a specified attribute

Example

Base File


<root>
    <node>value</node>
</root>

Substitution


<Change>
    <XPath>/root/node</XPath>
    <ChangeValue>new-value</AddAttribute>
</Change>

Alternative version


<Change>
    <XPath>/root/node</XPath>
    <ChangeValue value="new-value" />
</Change>

Output


<root>
    <node>value</node>
</root>