Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to access the elements of an xml file using netscape parser??

 
shantanu ghosh
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
Please help me with this problem
we can access the elemnts of an xml file in an IE browser using childNodes,firstChild etc...How does one do it using the Netscape6.0 parser??
 
hari kandakkai
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi shantanu ,
In netscape also the parsing is similar... but it takes all texts as an additional nodes. So the number of Nodes will be double that of IE. You can fond a good example in the following site... http://www.xs4all.nl/~ppk/js/index.html?version5.html
In the Left pane under version 5 click the importXML link....
hopes this will help you...........
Hari....
by ghosh:
Hi friends,
Please help me with this problem
we can access the elemnts of an xml file in an IE browser using childNodes,firstChild etc...How does one do it using the Netscape6.0 parser??

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!