In my html file i'm trying to read from an xml file which has the lat and lng of markers to display on google map. i do the following steps:
var request = GXmlHttp.create();
request.open("GET", "example.xml", true);
request.onreadystatechange = function() {
if (request.readyState == 4) {
var xmlDoc = GXml.parse(request.responseText);
// obtain the array of markers and loop through it
var markers = xmlDoc.documentElement.getElementsByTagName("marker");
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
and here in this step it appears the error and says:
Error:'documentElement' is null or not an object....
and i'm sure from the tag name and the file name.
so is there any body has an answer for this error???
plz help
thanksMore Information:
- but having a basic understanding of how Perl can be used to help XML and databases work together is a useful skill to add to your bag of tricks
- How To Read From Text File And Append It To Excel File could somebody pls help to read from a text file and append the content to excel file
- ma webpage,its givin me an error message ERROR CHECK IP SCRIPT,please can u help me to solve this problem,because i haven't change anything else only the xml file for
- How can I filter just to get the information I need from the file!?!?
- 15 posts - 12 authors - Last post: Jul 13, 2007The work folder or the folder containing class files is read only and because of that this error appears
- In the html file you can set some variables for the poll like dimensions (width and height), the path to the files if you choose to put them in another location
More:


LinkBack URL
About LinkBacks
Reply With Quote

























































Bookmarks