# Editing XML Files

> Edit XML documents in the XML editor mode of TXTextControl: element selections, the TAB key, style-based formatting and the button bar XML combo boxes.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > Document Editor > Working With XML Files > Editing XML Files
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/llms-full.txt

---

## On This Page

- [The Example Document](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/#the-example-document)
- [How the XML Editor Mode Works](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/#how-the-xml-editor-mode-works)
- [Format an XML Document](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/#format-an-xml-document)
- [Try the XML Editing Sample](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/#try-the-xml-editing-sample)
- [Next Steps](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/editing/#next-steps)

---

## Nearby

- **Previous:** [Loading and Saving XML Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/load-save/llms.txt)
- **Next:** [Programming XML Documents](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/programming/llms.txt)
