Reading an XML file into a TreeView

ruben

New Member
I am trying to load an XML file onto my GUI using a TreeView control.However, I am using a proprietary layout for my XML file.The XML is structured like this:\[code\]<ConfiguratorConfig xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Section> <Class ID="Example" Name="CompanyName.Example" Assembly="Example.dll"> <Interface> <Property Name="exampleProperty1" Value="http://stackoverflow.com/questions/11395912/exampleValue" /> <Property Name="exampleProperty2" Value="http://stackoverflow.com/questions/11395912/exampleValue" /> <Property Name="exampleProperty3" Value="http://stackoverflow.com/questions/11395912/exampleValue" /> </Interface> </Class> </Section></ConfiguratorConfig>\[/code\]I'd like the output to be structured like:\[code\]Class "Example" Property "exampleProperty1" Property "exampleProperty2" Property "exampleProperty3"\[/code\]I'm totally new to using XML. I've been searching the web for the past few hours, and none of the results have helped. Some have come close, but perhaps properties won't show up, or node's names won't display, etc.I'm writing in c# in Visual Studio 2005.Thanks for the help!
 
Back
Top