XML Replacement Content

Description

Replaces content of a node with a new set of content

Example

Base File


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

Substitution


<Change type="ReplacementContent" xPath="/root">
    <Content>
        <![CDATA[
        <nodes>
            <node1>value</node1>
            <node2>value2</node2>
            <node3>value3</node3>
        </nodes>
        ]]>
    </Content>
</Change>

Output


<root>
    <nodes>
        <node1>value2</node1>
        <node2>value2</node2>
        <node3>value2</node3>
    </nodes>    
</root>