-
Notifications
You must be signed in to change notification settings - Fork 1
XmlUpdate
Ben Phegan edited this page Jul 17, 2017
·
1 revision
To update a node or attribute, specify the !XPath to identify what to update, and provide the replacement value as inner text. In the examples below, the string "xmlupdate" will be used as the replacement string.
<XML source="test.xml">
<Update xpath="/configuration/nhibernate/add[@key='hibernate.dialect']/@value">xmlupdate</Update>
</XML>
<XML source="test.xml">
<Update xpath="/configuration/Random">xmlupdate</Update>
</XML>