aspose file tools*
The moose likes XML and Related Technologies and the fly likes How to access the elements of an xml file using netscape parser?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to access the elements of an xml file using netscape parser??" Watch "How to access the elements of an xml file using netscape parser??" New topic
Author

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

shantanu ghosh
Greenhorn

Joined: May 31, 2001
Posts: 4
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

Joined: Jun 04, 2001
Posts: 3
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??

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to access the elements of an xml file using netscape parser??