On Feb 20, 9:19 am, opiv209 <[email protected]> wrote: > i realize this is probably a result of my inexperience with parsing > XML, but any help would be appreciated. thanks!
Having recognised that it's an XML-parsing issue, it would be better to research that specially. The code you're modifying creates a collection called "markers" -- you can create a collection called "events" in the same way. Having got that, you then need to do the same thing for each member of that collection, to create another collection called "params". Then examine each member of that collection and get attributes "name" and "value". If name=="latitude" then set whatever variable to "value". The thing is to recognise that the collection "markers" is just that: a collection of marker elements, and each of those could have its own attributes and/or contain further collections. Just deal with those further collections in the same way. Have a go at writing the code and post a link so we can see it in action if you have difficulty. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
