Azavea.Open.Geocoding.Google.GoogleGeocoder.ChildNodeText C# (CSharp) Method

ChildNodeText() private static method

private static ChildNodeText ( XmlNode node, string tagName ) : string
node System.Xml.XmlNode
tagName string
return string
        private static string ChildNodeText(XmlNode node, string tagName)
        {
            var element = (XmlElement) node.SelectSingleNode("descendant::" + tagName);
            return element != null ? element.InnerText : null;
        }