# XML Processing

> Edit XML data in the WPF TextControl: load files with a DTD and CSS, handle XmlInvalid in XAML, change XmlElement objects and save the XML and its styles.

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

---

## On This Page

- [The Three Files of an XML Document](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/xml/#the-three-files-of-an-xml-document)
- [Load an XML File and Handle Errors](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/xml/#load-an-xml-file-and-handle-errors)
- [What Changes in the XML Editor Mode](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/xml/#what-changes-in-the-xml-editor-mode)
- [Work With Elements in Code](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/xml/#work-with-elements-in-code)
- [Save the XML File and Its Styles](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/xml/#save-the-xml-file-and-its-styles)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/document-processing/xml/#next-steps)

---

## Nearby

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