Mono.Moma.XmlFileLoader.GetNodeValue C# (CSharp) Method

GetNodeValue() private method

private GetNodeValue ( XmlNode n, string path ) : string
n System.Xml.XmlNode
path string
return string
        string GetNodeValue(XmlNode n, string path)
        {
            XmlNode node = n.SelectSingleNode (path);
            if (node == null) {
                Console.WriteLine ("{0} not found", path);
                return null;
            }

            return node.InnerText;
        }