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=="4"
{
StartLoading();
}
else
{
alert("Loading operation could not start."
;
}
}
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?
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=="4"
{
StartLoading();
}
else
{
alert("Loading operation could not start."
}
}
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?