User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 426,141 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 1,672 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1138 | Replies: 0
Reply
Join Date: Apr 2007
Posts: 12
Reputation: Shruthi_R is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Shruthi_R Shruthi_R is offline Offline
Newbie Poster

Xml data to treeview web control

  #1  
May 8th, 2007
i have an XML in the format below
i need to load them to treeview as it is with all the node and attribute name and
values.
can anyone help me with any coding example on how to do this
if i use the xmldatasource ,only the node name is getting loaded to treeview control
how can i parse them
help me on this regard

<category name="nature" id=12344" Starttime="12.00" date="11122007">
<event name="water" id="12233" >
<eventtype name="seawater" amount="23%">
<type name="salt" content="3233"/>
<type name="salt" content="3233"/>
<type name="salt" content="3233"/>
</eventtype>
</event>
<event name="water" id="12233" >
<eventtype name="seawater" amount="23%">
<type name="salt" content="3233"/>
<type name="salt" content="3233"/>
<type name="salt" content="3233"/>
</eventtype>
</event>
<event name="water" id="12233" >
<eventtype name="seawater" amount="23%">
<type name="salt" content="3233"/>
<type name="salt" content="3233"/>
<type name="salt" content="3233"/>
</eventtype>
</event>
</category>


thanks
Shruthi
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP.NET Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 4:57 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC