I would like to include an XML editor in my app - similar to VS's XML editor with auto-coloring, etc.
AvalonEdit sounds like a great solution.
However, AvalonEdit comes with a sample for C# syntax, not XML syntax. Is there a sample for XML syntax somewhere?
All you have to do is change the xshd file in Avalon to change it to the language requirements you need. Many of the common language syntax highlighting is already provided on the SharpDevelop Git: Link
For XML, the xshd file looks like:
Just use
SyntaxHighlighting="XML"
in your XAML: