# XML Processing

> Load XML files with DTD and CSS into a Windows Forms TextControl, handle XmlInvalid, edit elements with GetXmlElements and the ButtonBar, and save XML and CSS.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control .NET for Windows Forms > Document Processing > XML Processing
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/llms-full.txt

---

## On This Page

- [How XML, DTD and CSS Work Together](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/#how-xml-dtd-and-css-work-together)
- [Load an XML File](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/#load-an-xml-file)
- [Edit in the XML Editor Mode](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/#edit-in-the-xml-editor-mode)
- [Read and Change Elements in Code](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/#read-and-change-elements-in-code)
- [Save the XML File and Its Styles](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/#save-the-xml-file-and-its-styles)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/xml/#next-steps)

---

## Nearby

- **Previous:** [Comments and Tracked Changes](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/comments-changes/llms.txt)
- **Next:** [Printing](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/document-processing/printing/llms.txt)
