If you're using the loadXMLDoc() function provided on w3schools at the following url: http://www.w3schools.com/dom/dom_loadxmldoc.asp you might notice that it doesn't workin Safari.
Apparantly Safari doesn't support loading of external xml files in this manner. I've found a workaround, illustrated below. This is the w3schools function slightly modified, my changes are highlited in magenta.
function loadXMLDoc(dname) //cross-browser function to load an XML document, "dname"
{
try //Internet Explorer
{
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
catch(e)
{
try //Firefox, Mozilla, Opera, etc.
{
xmlDoc=document.implementation.createDocument("","",null);
}
catch(e) {alert(e.message)}
}
try
{
var ua = navigator.userAgent.toLowerCase();
if (ua.indexOf('safari/') != -1){ //user is reporting as Safari, use XMLHttpRequest instead.
XmlHTTP = new XMLHttpRequest();
XmlHTTP.open("get", "includes/banfMenu.xml", false);
XmlHTTP.send("");
var xDoc = XmlHTTP.responseXML;
return xDoc;
}else{
xmlDoc.async=false;
xmlDoc.load(dname);
return(xmlDoc);
}
}
catch(e) {alert(e.message)}
return(null);
}