Overview
Parses specified string as xml node and returns document element as Xml instance.Xml myXml.Parse(xml: string)
Arguments
string xml
XML string to parse.
Remarks
While parsing the xml white spaces is preserved.
Example
Usage
var myXml = $Xml.Parse('<doc><Customer><Name>hello</Name></Customer></doc>'); var name = myXml.Evaluate('//Customer/Name')