C_Angell
12-18-2006, 08:39 PM
Hi,
I stated this problem incorrectly earlier and am revising it now.
I having a problem loading data from an xml document into the Safari browser for the mac. The code works fine with firefox and IE.
The problem occurs in the following block of code:
else if (document.implementation && document.implementation.createDocument){
xmlDoc = document.implementation.createDocument("","", null);
xmlDoc.load(xmlFile);
}
I'm not exactly sure what the issue is, but it seems that the line xmlDoc = document.implementation.createDocument("","", null); craetes a Document Object in Safari rather an XMLDocument object as in Firefox. Consequently the script dies on the line xmlDoc.load(xmlFile); and I think the xml file is never loaded.
Any ideas.
I stated this problem incorrectly earlier and am revising it now.
I having a problem loading data from an xml document into the Safari browser for the mac. The code works fine with firefox and IE.
The problem occurs in the following block of code:
else if (document.implementation && document.implementation.createDocument){
xmlDoc = document.implementation.createDocument("","", null);
xmlDoc.load(xmlFile);
}
I'm not exactly sure what the issue is, but it seems that the line xmlDoc = document.implementation.createDocument("","", null); craetes a Document Object in Safari rather an XMLDocument object as in Firefox. Consequently the script dies on the line xmlDoc.load(xmlFile); and I think the xml file is never loaded.
Any ideas.