How to Create an XML Editor application tool in C#.NET

Aug 19, 2008 at 12:01 PM


I want to create an XML Editor Tool in C#.NET (similar to what we currently have in Visual Studio).
I want this editor tool to be integrated in my project.

The intention in creating the tool is that I want to view and edit the XML in this tool itself. I should
be able to directly modify the XML in this XML editor and thereby persist it back. And the changes should be
reflected accordingly.
It should have a collapse-Expand feature. And if possible it should also support Syntax based colours.

Hence, the tool should be able to open any XML in the proper format(proper parsing check should be there)
and edit them and save it back.

I currently work in VS 2008 in C#.

It will be really helpful if someone put the code in implementing the same and thanks in advance for any kind of suggestions.

Aug 21, 2008 at 10:47 PM
I accidently stumbled upon this thread while actually looking at some other threads in the discussion list. I don't think you will have a lot of luck with getting answers in this discussion list as it is concentrated mainly on codeplex features.  

Anyway, #develop ( is an open source IDE which comes with an XmlEditor which does all what you require and much more. So maybe you should look if you can reuse that code.