April 13, 2008
I have a web-site that is a Google Map mash-up and I place my markers by listing them in the body right after the map loads (in a load function).
I convert my data from a spreadsheet to xml and then use a program to write the xml into a list that displays the information the way I want it. I do not insert the xml tags because I don’t want them in my html because I do not know how they would react, and I really don’t know where they would go once I pull the info out of the xml doc anyway. I insert the xml in with other text.
Right now I am cutting and pasting the data into my html but eventually I want to automate this. But I do not know how to “grab” the data since there are no tags or id’s. I think that it is in the tree somewhere but can anyone give me an idea where and how to identify this?
Typical lay-out in the html below. The code below “// add markers” is the code in which I am interested.
I hope this makes sense.