I would like to show an XML file in my .NET 2.0 WinForms app just like IE does (where you can collapse the nodes, and everything is nicely colored). Is there a built-in way to do this?
views:
309answers:
2
+3
A:
You can host IE inside your application's form or you can display it in the WebBrowser control using the same XSL transform that IE uses as described here: http://blorgh.wordpress.com/2006/10/17/displaying-xml-in-the-net-webbrowser-control/
0xA3
2009-01-16 20:43:52
A:
On codeplex there is a project XmlVisualiser v.2 that will do this. It works both as a visualzer add-in for Visual Studio and as a user control that you can use in your applications.
I think it will do just what you are after.
Rune Grimstad
2009-01-16 21:07:15