Okay people...I've been seriously losing sleep over this one. I've got this GREAT application that is working in IE and I need to support Netscape. Please, Netscape programmers....help! 
Basically, I just can't seem to parse an XML file in Netscape 6+. Even the VERY BASIC doesn't seem to work. For example...here is a peice of code that "supposedly" works in Netscape 6+:
------------------------------------------------------------
var xmlDoc = document.implementation.createDocument("","doc",null);
xmlDoc.load("compatible_list.xml"
;
var menus = xmlDoc_menus.documentElement.childNodes;
loadVendors( menus[0].childNodes );
loadProducts( menus[1].childNodes );
loadProgramrelease( menus[2].childNodes );
loadOS( menus[3].childNodes );
------------------------------------------------------------
I understand the different methods used for parsing: childNodes, nodeValue, nodeName, appendChild, firstChild, lastChild, etc... IE even uses the text() and data() methods to extract the values from each node. I guess I must be missing one somewhere?
My Error (which is SO frustrating) is:
xmlDoc_menus.documentElement.childNodes has no properties
This works 100% in IE 5+. But I've been trying for DAYS to get this to work in NS 6+...and it's just not working.
I'm at my wits end. Any help would be greatly appreciated!
Thanks,
Ship
Basically, I just can't seem to parse an XML file in Netscape 6+. Even the VERY BASIC doesn't seem to work. For example...here is a peice of code that "supposedly" works in Netscape 6+:
------------------------------------------------------------
var xmlDoc = document.implementation.createDocument("","doc",null);
xmlDoc.load("compatible_list.xml"
var menus = xmlDoc_menus.documentElement.childNodes;
loadVendors( menus[0].childNodes );
loadProducts( menus[1].childNodes );
loadProgramrelease( menus[2].childNodes );
loadOS( menus[3].childNodes );
------------------------------------------------------------
I understand the different methods used for parsing: childNodes, nodeValue, nodeName, appendChild, firstChild, lastChild, etc... IE even uses the text() and data() methods to extract the values from each node. I guess I must be missing one somewhere?
My Error (which is SO frustrating) is:
xmlDoc_menus.documentElement.childNodes has no properties
This works 100% in IE 5+. But I've been trying for DAYS to get this to work in NS 6+...and it's just not working.
I'm at my wits end. Any help would be greatly appreciated!
Thanks,
Ship