Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About brucewc3

  • Rank

Profile Information

  • Location
  1. I would like to give a progress report on the work I did after getting INGOLME's kind advice. I tried several examples from W3C Schools, using the non AJAX method setting xmlhttp.open("GET","file.xml", false); ......and they worked fine, thank you Ingolme, using Firefox as the browser (not Explorer) and with my file.xml in the same directory section as my test html/script. I thought I was underway.Fine, but I got cold feet (anxious state) worrying if my visitor was going to have to download my entire xml database to get just one or two items (and it will be big). Also I read that the AJAX me
  2. Thank you very much Ingolme for your advice. I have not acted on all of it yet but I thought I should report to thank you and say what I have done so far. I looked into buying server software but it was beyond the budget of an old age pensioner. In any case if needs must I think I could slip the xml file into my webspace for one of my websites (not linked) and test it from there. I am puzzled by the distinction you make between Internet Explorer and the other browsers. In both cases the alternative codings supplied by W3C Schools use the term' http', which I have always understood refers to
  3. I am interested in using javscript to read from an XML file into a webpage, a new experience for 'simplewebman' . Studying w3c schools gives me many examples, but as far as I can see all recommend code such as.....if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.open("GET","cd_catalog.xml",false); xmlhttp.send(); xmlDoc=xmlhttp.responseXML;........to read in the xml My problem is that my policy to date has been to develop code in house and
  • Create New...