I have a very simple XML file that contains 30 records - the component stocks of the Dow Industrial Index.
Later, I am going to try to just list the 30 records. But, at present I don't seem to be able to read and dump it's contents.
Please see my very simple code that I attached. The XML file is also included.
Can anyone help me out here?
<BUTTON TYPE=SUBMIT NAME="Button1" VALUE="Button1" OnClick=loadXML()>
<IMG SRC= "button.gif">
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
// 0 Object is not initialized
// 1 Loading object is loading data
// 2 Loaded object has loaded data
// 3 Data from object can be worked with
// 4 Object completely initialized
if (xmlDoc.readyState != 4)