You can fill any text in XML <![CDATA[]]> without any problems.
Not very useful, although you cannot use XPath or XSLT for the data in this section.
You need to specify more detailed information in your question - how is text entered, what XML format do you need to produce? For what?
Update: (next comment)
Use the XML namespace in .NET — specifically, the XmlDocument class — is Save , which allows you to specify the file name to save (although you should look at other overloads on it).
You can add elements in the same way as the link that you put in your question using the AppendChild methods.
Something like the following:
XmlDocument xmlDoc = new XmlDocument(); xmlDoc.AppendChild(xmlDoc.CreateElement("form")); XmlElement nameElement = xmlDoc.CreateElement("name"); nameElement.InnerText = nameCtrl.Text; xmlDoc.DocumentElement.AppendChild(nameElement); XmlElement emailElement = xmlDoc.CreateElement("email"); emailElement.InnerText = emailCtrl.Text; xmlDoc.DocumentElement.AppendChild(emailElement);
Odded source share