Skip to content

create

Creates a new XmlWriter instance for constructing XML content programmatically.

1
myXml.create():XmlWriter

Returns

A new XmlWriter instance.

See Also

  • XmlWriter used to programmatically construct XML documents.

Example

1
2
3
4
var writer = $Xml.Create();
writer.StartElement('Customer');
writer.EndElement();
var xml = writer.ToXml();

See Also