User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 455,969 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 3,760 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 JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1886 | Replies: 2
Reply
Join Date: Nov 2006
Posts: 49
Reputation: kobi is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
kobi kobi is offline Offline
Light Poster

load an xml file,to treeview control throw dhtml

  #1  
Nov 22nd, 2007
Hello there,


How can i load an xml file,to treeview control and show it in my html page,i saw a way throw a dhtml but i failed to dominate it?

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2006
Location: India
Posts: 7,009
Reputation: ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold ~s.o.s~ is a splendid one to behold 
Rep Power: 25
Solved Threads: 368
Moderator
Featured Poster
~s.o.s~'s Avatar
~s.o.s~ ~s.o.s~ is offline Offline
Lazy, Useless & Apathetic

Re: load an xml file,to treeview control throw dhtml

  #2  
Nov 22nd, 2007
Maybe this would help if you want to load a local XML file.
Last edited by ~s.o.s~ : Nov 22nd, 2007 at 1:15 pm.
I don't accept change. I don't deserve to live.

Happiness corrupts people.

Failing to value the lives of others cheapens your own.
Reply With Quote  
Join Date: Nov 2006
Posts: 49
Reputation: kobi is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
kobi kobi is offline Offline
Light Poster

Re: load an xml file,to treeview control throw dhtml

  #3  
Nov 22nd, 2007
Thanks for the help ,but when trying the code sample i get en error saying "Object required"
the error point to the line
--document.getElementById('b1').innerHTML = xmlDoc.getElementsByTagName("b")[0].childNodes[0].nodeValue;

Any suggstion?
Reply With Quote  
Reply

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

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

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