XML Change Attribute

Description

Changes the value of a specified attribute

Notes

This has been deprecated in favour of SetAttribute

Example

Base File


<root>
    <node attrVal="true">value</node>
</root>

Substitution


<Change type="ChangeAttribute" xPath="/root/node" attributeName="attrVal" value="false" />

Output


<root>
    <node attrVal="false">value</node>
</root>