Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Overview

Returns the inner xml of the 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

Get inner xml

var xml = $Xml.SelectSingle('//Customer').InnerXml();
@seeXml.OuterXml

Example

Update inner xml

$Xml.InnerXml('<Customer><Name>John</Name></Customer>');
@seeXml.OuterXml
  • No labels