XmlNode.SetValue
Overview¶
void XmlNode.SetValue ( [ xpath ], value )
Arguments¶
String xpath
XPath of node to update. If not specified current node is used.
object value
Value to set
Remarks¶
Examples¶
Updates with an xpath
$Xml.SetValue('//Customer/Id','1');
Updates the current node value
var xml = $Xml.SelectSingle('//Customer/Id', function() { this.SetValue('1'); });