示例#1
0
        public static string Get(string xpath)
        {
            var nodes = xml.GetNode(xpath);

            if (nodes != null)
            {
                return(nodes.InnerText);
            }
            return(string.Empty);
        }