获取XML节点值得办法

来源:互联网 发布:angular copy源码 编辑:程序博客网 时间:2024/05/09 07:51
try
            {
                string filePath = Path.Combine(System.Windows.Forms.Application.StartupPath, "文件名称.XML");
                XmlDocument xmlDoc = ConfigUtil.Instance.LoadXml(filePath);
                string Test = GetValueEX(xmlDoc, "节点名称");
             
                
               
            }
            catch
            {
            }
0 0
原创粉丝点击