Hi have the following XML
My program populates a tree view from this XML file. I then want the users to click on a node and for this put data into a text box relevent to that node. Before i used XML to populate the tree view i was adding a tag to each node then using
to get the data to the textbox.
Can i add tags to the XML file or will i have to do it another way?
Thanks for the help
VB.NET:
[COLOR=#000080]<?xml version=[COLOR=#0000ff]"1.0"[/COLOR] ?>[/COLOR]
- [COLOR=#000080]<Offices>[/COLOR]
- [COLOR=#000080]<UK>[/COLOR]
[COLOR=#000080]<Hull />[/COLOR]
[COLOR=#000080]<Middlesbrough />[/COLOR]
[COLOR=#000080]<Manchester />[/COLOR]
[COLOR=#000080]<Belfast />[/COLOR]
[COLOR=#000080]<Linertech />[/COLOR]
[COLOR=#000080]</UK>[/COLOR]
- [COLOR=#000080]<Europe>[/COLOR]
[COLOR=#000080]<Rotterdam />[/COLOR]
[COLOR=#000080]<LeHavre />[/COLOR]
[COLOR=#000080]<Dusseldorf />[/COLOR]
[COLOR=#000080]<Uentrop />[/COLOR]
[COLOR=#000080]<Schwechat />[/COLOR]
[COLOR=#000080]<Porvoo />[/COLOR]
[COLOR=#000080]</Europe>[/COLOR]
[COLOR=#000080]</Offices>[/COLOR]
My program populates a tree view from this XML file. I then want the users to click on a node and for this put data into a text box relevent to that node. Before i used XML to populate the tree view i was adding a tag to each node then using
VB.NET:
[LEFT]TreeView1.SelectedNode.Tag[/LEFT]
Can i add tags to the XML file or will i have to do it another way?
Thanks for the help