To pull a zip code from the Google Maps API, the zip can be returned in one
of three different locations (that I've found so far).

 

kml.Response.Placemark.AddressDetails.Country.AdministrativeArea.Locality.Po
stalCode.PostalCodeNumber.XmlText

kml.Response.Placemark.AddressDetails.Country.AdministrativeArea.SubAdminist
rativeArea.Locality.PostalCode.PostalCodeNumber.XmlText

kml.Response.Placemark.AddressDetails.Country.AdministrativeArea.SubAdminist
rativeArea.PostalCode.PostalCodeNumber.XmlText

 

To save me from doing a series of nested Ifs . is there an easier way to
find this element, no matter how deep or not deep?

 

And hell, I haven't even tried non-US addresses yet.

 

H.

 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:246032
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to