Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

difference between offline & online?

Status
Not open for further replies.

NOOB

Technical User
Sep 17, 2002
7
AU
Hi I'm a complete xml noob working my way through the SAMS 24 hour xml book.

I've built the first simple example (a little xml file containing <to>,<from>, <subject> & <body> tags which I can display in a simple html page whilst it is all stored on my hard drive.

However, when I load it up onto my web server this little check function...

function StartUp()
{
if(xmlDoc1.readyState==&quot;4&quot;)
{
StartLoading();
}
else
{
alert(&quot;Loading operation could not start.&quot;);
}
}

keeps throwing up the alert =(

I've tried routing the xml file simply i.e. test1.xml in the same folder and absolutely i.e. but both give the error.

Is there a difference between running these files on my hard drive & on my server? Do I need to talk to my ISP?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top