Hi!
I'm new in JavaScript, and tried out some examples.
If found an XML example at MSDN MSXML 4.0 DOM which is:
http://msdn.microsoft.com/library/de...th_hn_2uck.asp
var xmlDoc = new ActiveXObject(" Msxml2.DOMDocum ent.4.0");
xmlDoc.async = false;
xmlDoc.resolveE xternals = false;
xmlDoc.load("C: \\temp\\books.x ml");
if (xmlDoc.parseEr ror.errorCode <> 0) {
var myError = xmlDoc.parseErr or;
alert("You have error " + myErr.reason);
} else {
alert(xmlDoc.xm l);
}
Where ich changed the '<>' to '!='
but runnung this in IE6.0 I got an error 'access denied' at the loa
statement. The file could be opened in IE6.0. Erverything run
clientside without IIS.
What the reason for that?
Thanks for help
-
sinn
Comment