QUOTE(lavish @ 9 Apr, 2008 - 09:50 PM)

the thing is i want to have an xml output like:
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
<Response>
<name>26450 ascension drive,Los Altos, CA 94022</name>
<Status>
<code>200</code>
<request>geocode</request>
</Status>
<Placemark id="p1">
<address>26450 Ascension Dr, Los Altos, CA 94022, USA</address>
<AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<CountryNameCode>US</CountryNameCode>
<AdministrativeArea>
<AdministrativeAreaName>CA</AdministrativeAreaName>
<SubAdministrativeArea>
<SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
<Locality>
<LocalityName>Los Altos</LocalityName>
<Thoroughfare>
<ThoroughfareName>26450 Ascension Dr</ThoroughfareName>
</Thoroughfare>
<PostalCode>
<PostalCodeNumber>94022</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
<Point>
<coordinates>-122.142060,37.383113,0</coordinates>
</Point>
</Placemark>
<Placemark id="p2">
<address>26451 Ascension Dr, Los Altos, CA 94022, USA</address>
<AddressDetails Accuracy="8" xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
<Country>
<CountryNameCode>US</CountryNameCode>
<AdministrativeArea>
<AdministrativeAreaName>CA</AdministrativeAreaName>
<SubAdministrativeArea>
<SubAdministrativeAreaName>Santa Clara</SubAdministrativeAreaName>
<Locality>
<LocalityName>Los Altos</LocalityName>
<Thoroughfare>
<ThoroughfareName>26451 Ascension Dr</ThoroughfareName>
</Thoroughfare>
<PostalCode>
<PostalCodeNumber>94022</PostalCodeNumber>
</PostalCode>
</Locality>
</SubAdministrativeArea>
</AdministrativeArea>
</Country>
</AddressDetails>
<Point>
<coordinates>-122.143020,37.382121,0</coordinates>
</Point>
</Placemark>
</Response>
</kml>
here we have several placemarks, specified..so i want to make a script in perl as geocode.pl script file and wnt to access it
into a browser where i can c the output containin address,long,lati,code aslo an accuracy level.....
as we have in google maps....
Well as girasquid said, lets see your code. One of the rules of this site (that you can see when you post), is "You
Must Show Us Your Code". Please hsow your code and please enclose it in code tags. That way, we can see what you have tried and can then guide you in the right direction.
Regards,
Jeff