Skip to content

XmlWriter

Builds XML text element by element.

Remarks

Create a writer with Xml.Create in server scripts. Element and attribute values are encoded, so the writer is safer than building XML by concatenating strings. The methods return the writer, so calls can be chained; call XmlWriter.ToXml to get the text.

Capabilities

XmlWriter Operations