Hi there. I have a simple piece of code:
For IE, the xmlDoc.async specifies not to return control to the caller until the xml document is fully loaded. Is there a similar property that I must set for Netscape? Any NS-specific XML loading code would be much appreciated.
Cheers, Neil
Code:
// simple browser test
var ns6 = document.getElementById && !document.all;
var ie5 = document.all;
if( ie5 ) {
xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
xmlDoc.async = false;
}
else if( ns6 ) {
document.implementation.createDocument( "", "", null );
// what to put here ??
}
xmlDoc.load( "names.xml" );
Cheers, Neil