I’m putting together a utility at work that generates stylesheets given the output of a stored procedure in xml. There are a lot of choices on how to represent this.
I thought a tree-view would be nice (like the left hand side of windows explorer), but it looks like there is no good way to bind a tree view to the contents of an xml document without changing that document. Very odd, since a tree is the most natural way to present an XML document.
So for now, I’m going with a list of fields available and adding them to a datagrid view. All of this would be easier with .net 2.0, but it’s politically unsound to be playing with the new toys if you are as junior as I am.