string xPath = "//appSettings/add[translate(@key,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')='" + settingsKey.ToUpper() + "']";

相关文章: