how to remove webservice headers



Hello:
I have a web swervice that returns a formatted KML (Google earth) xml document.
Google Earth says it can consume it IF the top level element starts with :
<kml xmlns="http://earth.google.com/kml/2.2";>

When I return data as string from my web servive it returns:

<?xml version="1.0" encoding="utf-8" ?>
<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema"; d1p1:type="q1:string" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://www.ga.gov/GeoKML/GeoKML.asmx";>
<kml xmlns="http://earth.google.com/kml/2.2";>

and then Google cannot use it - so I need to learn how to remove the

<anyType xmlns:q1="http://www.w3.org/2001/XMLSchema"; d1p1:type="q1:string" xmlns:d1p1="http://www.w3.org/2001/XMLSchema-instance"; xmlns="http://www.ga.gov/GeoKML/GeoKML.asmx";>

What properties and methods do you suggest. and what event
Thanks

.



Relevant Pages

  • Re: Google Earthers....
    ... But a .KMZ File is actually a Zipped File... ... There's a .KML File, ... & Locating them *directly* in Google Earth (or on the Google Maps ...
    (uk.people.silversurfers)
  • Re: riding routes database
    ... You could implement something like this VERY easily in Google Earth, ... uses a file format called 'Geographic XML' (.KML) to store things like ... markers, routes and waypoints. ... conversion software to convert normal trail GPS ...
    (rec.sport.unicycling)
  • Re: Anyone Using KML Files For Family History?
    ... For people not familiar with KML, ... My plan is to start with only Placemarks but add images later on. ... The drawback with a Google Earth presentation is that it uses ... Sagredo (Galileo Galilei) "You present these recondite matters with too much ...
    (soc.genealogy.computing)
  • Re: All F1 tracks in Google Earth
    ... just for my entertaining) with links ... to "kml" files that you can see using Google Earth. ... I really enjoyed playing with it for a few minutes here. ...
    (rec.autos.sport.f1.moderated)
  • Re: Google Earth
    ... >> I am curious if anyone here uses Google earth and thought of locating ... > Better, of course, is to database it all so that either KML/KMZ files can ... > (depending on how the server-side is implemented) bandwidth-economical. ... Well, the kml file is the most logical location, it's a straight forward ...
    (alt.coffee)