Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Returns the inner xml of the current node or replaces inner xml of current node.

string myXml.InnerXml()

Returns the inner xml of the current node or replaces inner xml of current node.

string myXml.InnerXml(value: string)

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 Xml.Copy method.

Example

Update inner xml

Code Block
languagejs
$Xml.InnerXml('<Customer><Name>John</Name></Customer>');

Example

Get inner xml

Code Block
languagejs
var xml = $Xml.SelectSingle('//Customer').InnerXml();
, @see,Xml.OuterXml