XmlWriter.Write
Overview
Writes the specified value to the current element.
XmlWriter myXmlWriter.Write(value: string)
Arguments
string value
value to write
Remarks
This method writes the specified value to the current element and returns the current writer instance.
value is encoded with XML encoding rules.
Example
var writer = $Xml.Create();
writer.StartElement('Customer');
writer.Write('Doe');
writer.EndElement();
var xml = writer.ToXml();
// xml: <Customer>Doe</Customer>
Copyright © 2010 - 2023 Emakin. All rights reserved.