Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Treeview with XML population

Status
Not open for further replies.

Shift838

IS-IT--Management
Jan 27, 2003
987
US
I am trying to populate a treeview to have folders created and assigned servers in each folder (multiple servers). I have the below code and i cannot get the servers to be separated on each line it will look like "Server1 Server2", etc. How can I code the XML file to separate the server names on separate lines like childs?

Code:
<?xml version="1.0"?>
<Connections>
<Houston>
Server1
Server2
</Houston>
<SanRamon>
Server1
Server2
</SanRamon>

</Connections>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top