XML Add Attribute

Description

Will add an attribute to an already existing node in the XML

Notes

This has been deprecated in favour of SetAttribute

Example

Base File


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

Substitution


<Change type="AddAttribute" xPath="/root/node" attributeName="attrVal" value="true" />

Output


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