]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-xml.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / template / search-xml.php
index 84e177750b020b7c919126517b1fdab4dfb8485f..aa029d2bb142bcd9fc4b16660e512c4f63063c85 100644 (file)
@@ -1,6 +1,5 @@
 <?php
        header("content-type: text/xml; charset=UTF-8");
 <?php
        header("content-type: text/xml; charset=UTF-8");
-       header("Access-Control-Allow-Origin: *");
 
        echo "<";
        echo "?xml version=\"1.0\" encoding=\"UTF-8\" ?";
 
        echo "<";
        echo "?xml version=\"1.0\" encoding=\"UTF-8\" ?";
@@ -94,8 +93,9 @@
 
                if (isset($aResult['askml']))
                {
 
                if (isset($aResult['askml']))
                {
-                       echo "\n";
+                       echo "\n<geokml>";
                        echo $aResult['askml'];
                        echo $aResult['askml'];
+                       echo "</geokml>";
                }
 
                if (isset($aResult['address']))
                }
 
                if (isset($aResult['address']))