4 property bool dataOK: false
6 property string fileName
7 property string responseText
8 property string responseXmlRootNodeValue
10 function startRequest() {
11 var x = new XMLHttpRequest;
13 x.open("GET", fileName);
16 x.onreadystatechange = function() {
17 if (x.readyState == XMLHttpRequest.DONE) {
19 responseText = x.responseText
21 responseXmlRootNodeValue = x.responseXML.documentElement.childNodes[0].nodeValue