XmlNode.InnerXml
Overview¶
String XmlNode.InnerXml ( [ value ] )
Arguments¶
String value Inner xml to replace. If not specified no change applied.
Remarks¶
If value specified; this method directly changes the inner xml content without schema definitions. If you need schema based change please use XmlNode.Copy method.
Examples¶
Update inner xml
$Xml.InnerXml('<Customer><Name>John</Name></Customer>');
Get inner xml
var xml = $Xml.SelectSingle('//Customer').InnerXml();