Re: access denied
mscir wrote:[color=blue]
> *sinna wrote:
> <snip>[color=green]
> > I found a solution, but I don't realy understand what is the big
> > difference. I attached my solution.[/color]
>
> Couldn't read it, also you're not supposed to use attachments wit
> this
> newsgroup. Would you mind posting the code here? *[/color]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>XML load</title>
</head>
<body vLink="#000066" aLink="#000066" link="#000066
bgColor="#fffff f" leftMargin="0" topMargin="0" marginheight="0
marginwidth="0" >
<div id="xmlobj" xmlurl="" ><br/><br/>Loading...</div>
<script language="javas cript">
var xmlfile;
xmlfile = "C:/Test.xml";
xmlobj.xmlurl = xmlfile;
var xmlDoc = new ActiveXObject(" Msxml2.DOMDocum ent");
xmlDoc.async = false;
xmlDoc.resolveE xternals = false;
xmlDoc.preserve WhiteSpace = false;
xmlDoc.load( xmlobj.xmlurl );
if (xmlDoc.parseEr ror.errorCode != 0)
alert("Error");
else
alert(xmlDoc.xm l);
</script>
</body>
</html
-
sinn
mscir wrote:[color=blue]
> *sinna wrote:
> <snip>[color=green]
> > I found a solution, but I don't realy understand what is the big
> > difference. I attached my solution.[/color]
>
> Couldn't read it, also you're not supposed to use attachments wit
> this
> newsgroup. Would you mind posting the code here? *[/color]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>XML load</title>
</head>
<body vLink="#000066" aLink="#000066" link="#000066
bgColor="#fffff f" leftMargin="0" topMargin="0" marginheight="0
marginwidth="0" >
<div id="xmlobj" xmlurl="" ><br/><br/>Loading...</div>
<script language="javas cript">
var xmlfile;
xmlfile = "C:/Test.xml";
xmlobj.xmlurl = xmlfile;
var xmlDoc = new ActiveXObject(" Msxml2.DOMDocum ent");
xmlDoc.async = false;
xmlDoc.resolveE xternals = false;
xmlDoc.preserve WhiteSpace = false;
xmlDoc.load( xmlobj.xmlurl );
if (xmlDoc.parseEr ror.errorCode != 0)
alert("Error");
else
alert(xmlDoc.xm l);
</script>
</body>
</html
-
sinn
Comment