There is a javascript file, the following code is in js / script.js in it:
var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (xhttp.readyState == 4 && xhttp.status == 200) { genProducts(xhttp); } }; xhttp.open("GET", 'products.xml', true); xhttp.send(); JS code is inserted on a couple of pages in different folders, when you try to download them, throws an error:
S_ERROR_DOM_BAD_URI: Access to restricted URI denied When you load index.html (i.e. where products.xml are next to it) everything is fine. How to write the normal way or there are other options to read the XML with the DOM model. thank
index.htmlrun? - Grundy