Can you post the entire contents of xml.js and we will take a look at it for you.
js code:
getString('C:\\test.xml', '//UserSentences/UserSentence/command');
function getString(sXmlFile, sXmlId)
try {
var xml = new ActiveXObject('Microsoft.XMLDOM');
} catch(e) {
try {
var xml = new ActiveXObject('MSXML2.DOMDocument');
} catch(e) {
return false;
}
}
xml.async = true;
xml.load(sXmlFile);
Debut.Trace(xml.selectSingleNode(sXmlId).text);
}