On Nov 27, 5:40 pm, ianhg <[email protected]> wrote:
> Thanks for the replies, sorry if the info was short details below:

As Mike said, your XML is invalid. This query produces some data:
http://www.easzy.co.uk/store_locator/genxml.php?lat=51&lng=0&radius=600
but you can't repeat the root <markers> element inside that root
element.

The XML parser ignores the content of the root element, and <markers>
is parsed as empty. It's a little surprising it doesn't actually cause
an error, but there you are.

If you view the above link in a browser, it will show the dataset as
empty. If you View Source to see what it's parsing, you will see data.

Your XML should be structured as
<markers>
  <marker>...</marker>
</markers>
as Mike has suggested.

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.


Reply via email to