public static void SetElementValue( XmlNode xmlDoc, string xpath, string value, bool createElement, bool createIfEmpty )
Parameters
- xmlDoc
- XML document to set value in
- xpath
- XPath expression identifying the node to set value for
- value
- The value to set
- createElement
- If true, a new node will be created if it does not exist already
- createIfEmpty
- If true, a new node will be created if the existing node is empty