public static void Main()
const string xml = @"<FieldsDefinitions>
<Label>Demo Field</Label>
XDocument doc = XDocument.Parse(xml);
.Descendants("FieldsDefinition")
.Where(x => (string) x.Element("Field") == "DEMOFIELD" &&
(string) x.Element("Label") == "IIS: ");
foreach (var def in fieldDefs)