|
th("~/App_Data/xml/" + "Pages.xml"); } /**//// <summary> /// 获得需要验证的页面列表 /// </summary> /// <returns>需要验证的页面列表</returns> public static IList<string> GetValidatePages() { IList<string> pages = new List<string>(); // 如果指定配置文件存在 if (System.IO.File.Exists(filePath)) { try { XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load(filePath); // 获取配置文件根节点 XmlNode root = xmlDoc.DocumentElement; string xpath = "/pages/testpage/page[@needvalidate='true']"; XmlNodeList no上一页 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] 下一页 |
|
|
|
|
|
|
|