On Jul 26, 10:52 am, "[email protected]" <[email protected]> wrote:
> http://www.mytbos.com/geocode/map.htm
>
> This page shows a map of ophthalmologists in my area.  The code is
> taken from the API web site.  It works fine in Safari and Mozilla.
> The icons do not show up at all in IE8.  I am using windows xp.  I
> think I have the latests updates.  I tried adding the emulate IE7
> suggested in some of the help forums, but that doesn't seem to do
> anything.  Have worked on this for hours.  Please help.
> Thanks.

If IE doesn't act on XML and others do it usually means that the XML
isn't what IE is expecting. In this case, although
http://www.mytbos.com/geocode/echoxml1.php produces well-formed XML,
it doesn't conform to the DTD you have specified (which I suppose
means that actually it isn't well-formed).

You shouldn't have an HTML structure in your XML. It should start with
an <?xml> preamble, should not have <html> <head> <title> or <body>
sections, and should be served with the correct MIME type. Currently
IE8 is probably getting confused because the filename ends "php", it's
being served with a MIME type of "text/html" instead of "application/
xml" and its content even looks like HTML.

It can probably be sorted fairly easily in your PHP script. You will
need a
  header("Content-type: application/xml")
before anything else is output, for a start.

Andrew

[Your post was held up in moderation. All initial postings need to be
released manually as an anti-spam measure.]


--~--~---------~--~----~------------~-------~--~----~
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