Posted by keerthana_m_2003 on 11/27/05 16:25
I am trying to access an XML file from VC++ in a Java Script.
But I am unable to link the XML file. The error whihc I am getting is
Object Expected. Here is the code:
......
xmlDoc.load("Data.xml");
.......
try{
return(xmlDoc.getElementsByTagName(pageNN)[0].firstChild.nodeValue);
}
catch(er)
{
alert("TEST"+er.message);
}
.......
Please let me know, how to resolve this linking issue. Even if the path
is given as absolute path, the same issue happens.
Thanks
[Back to original message]
|