Xml
|
public static IEnumerable<Tuple<XElement, string>> WhereAttribute( this IEnumerable<XElement> source, string attributeName )
var globals = XDocument.Load(configFile) .Descendants("SettingsGroup") .WhereAttribute("Type").Is("Globals");