X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e598e2ceed58f03942f12203611ccc2e20fec66d..330f147b02c14c1435ca17cb4171c13644895a48:/lib/template/search-xml.php diff --git a/lib/template/search-xml.php b/lib/template/search-xml.php index f8e054e3..693330bb 100644 --- a/lib/template/search-xml.php +++ b/lib/template/search-xml.php @@ -1,6 +1,5 @@ "; + } + + if (isset($aResult['askml'])) + { + echo "\n"; + echo $aResult['askml']; + echo ""; + } + + if (isset($aResult['address'])) + { + echo "\n"; foreach($aResult['address'] as $sKey => $sValue) { $sKey = str_replace(' ','_',$sKey); @@ -76,7 +109,10 @@ echo htmlspecialchars($sValue); echo ""; } + } + if (isset($aResult['address']) || isset($aResult['askml'])) + { echo ""; } else