private IEnumerable<GoogleAddress> ProcessWebResponse(WebResponse response)
{
XPathDocument xmlDoc = LoadXmlResponse(response);
XPathNavigator nav = xmlDoc.CreateNavigator();
GoogleStatus status = EvaluateStatus((string)nav.Evaluate("string(/GeocodeResponse/status)"));
if (status != GoogleStatus.Ok && status != GoogleStatus.ZeroResults)
throw new GoogleGeocodingException(status);
if (status == GoogleStatus.Ok)
return ParseAddresses(nav.Select("/GeocodeResponse/result")).ToArray();
return new GoogleAddress[0];
}