Thanks- These lines were not in my .htaccess file. I did add the lines but it still fails. Thanks so much, I don't think I'll put too much work into PHP it doesn't really handle xslt very well. PHP programmers have designed xslt like it's a toy and not to be used in any real way. It injects garbage meta's into the xhtml anyway they have no idea what xhtml is.
The only difference in the resulting xml from the xslt transformation is that the PHP xslt pumps a bunch of CRLF's (possibly LF's) into the file. Like most fools they actually think that CRLF's are a good thing. Never mind what the end developer wants. They thinks it's funny to increase internet volume and make browsers work harder this way they can blame the browser because so few know that it does in fact make a difference that there are NO CRLF's in the microsoft transformation. I have no idea if that is the case here but, it is something that I have run across. On Apr 24, 6:01 am, mapperzUK <[email protected]> wrote: > Is the Apache server set-up to handle kml? > > Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635 > X-Powered-By: PHP/5.2.6 > Connection: close > Content-Type: text/html > > http://groups.google.com/group/Google-Maps-API/web/more-info-kml-on-g... > > For Apache, add these lines to the httpd.conf file or a .htaccess file > in the same folder (if your host only allows htaccess rather than > httpd.conf access): > > * AddType application/vnd.google-earth.kml+xml .kml > * AddType application/vnd.google-earth.kmz .kmz > > just check that it set correctly first. > > Mapperzhttp://mapperz.blogspot.com/ > > On Apr 24, 10:34 am, dlgreene <[email protected]> wrote: > > > > > This link > > works:http://maps.google.com/maps?geocode=&q=http://www.dlgreene.com/gmap_d... > > Microsoft Server. > > Much more info and view the kml in IE (firefox won't) and code that > > made the kml from xslt:http://www.dlgreene.com/code_info.aspx > > > This link > > fails:http://maps.google.com/maps?geocode=&q=http://www.phsalumni1971.net/p... > > > I'm highly confident both kml's are the same. Both kml's are generated > > from the same xslt. Again same code info and viewing > > at:http://www.phsalumni1971.net/phptest/code_info.php > > > Both sites are mine. The php site (phsalumni1971) seem's to force all > > browsers to download instead of viewing the kml(xml). You can add ? > > displaycode=true to view the xslt and xml that generated the xhtml. > > All pages verify at W3C. > > You can view the aspx C# and the php code at the code_info page at > > either site. The code info page is available on any page via the code > > link top and bottom left then code info. > > > I've seen many posts about this similar problem. This case might be a > > good study because IE responds differently to the same kml on > > differing servers. I wonder how much is it the browsers and how much > > is the servers? And more important... Anyone know how to fix this?- Hide > > quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
