Tag Archives: build xml

Build a formatted XML document in memory in C#

This example uses an XmlTextWriter to build a formatted XML document in memory and displays it in a text box. When you click the Go button, the following code executes. private void btnGo_Click(object sender, EventArgs e) { MemoryStream memory_stream = … Continue reading

Posted in XML | Tagged , , , , , , , , , , , , , , | 1 Comment