•
•
•
•
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
![]() |
•
•
Join Date: Apr 2007
Posts: 12
Reputation:
Rep Power: 2
Solved Threads: 0
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
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertising ajax asp blog browser browsing code community daniweb data design development devices dom domains firefox google hardware html india internet legal linux marketing merger microsoft mobile applications mozilla multimedia news php privacy report research rss search security software storage tutorials users video w3c web web development wikipedia xml xoap yahoo youtube
- creating the XML data file from Word (RSS, Web Services and SOAP)
- Convert XML data to sql table through coding in ASP.Net2.0 (Techies' Lounge)
- HTTP & Telnet Data Interpreter Component/Control in VC++? (C++)
- How can show/view Infopath dynamic files(xml) without infopath in a computer (XML, XSLT and XPATH)
- Disable Web Control Button (ASP.NET)
- Printing using Web Control Print button VB.NET (JavaScript / DHTML / AJAX)
- Printing using Web Control Print button. (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Comparing Random generated values with Entered values in LogIn screen
- Next Thread: need u r help


Linear Mode