• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Inserting data into an XML document with forms

Astray

Member
How would I go about creating a page I can go to, to insert some information using a form, into an existing XML document? Something that would work fine regardless of the browser is preferred, but not required.
 
Use System.Xml.XmlDocument to load the existing XML file. You can then root around in the nodes all you want, add new ones, change existing ones, etc. Then create an instance of XmlWriter pointing to the correct stream or file path, and call XmlDocument.WriteTo(XmlWriter).
 
Back
Top