Load XML from String

Method

Copy
server.Xml.Load(string xml)

Loads the XML from the specified string.

Parameter

Copy
xml string

String containing the XML to load. The string is XML formatted text.

Copy

var xml = '<Order></Order>';
var doc = server.Xml.Load(xml);